wok-6.x diff ovz-web-panel/receipt @ rev 9212
nvidia: allow post_install without tty
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 09:31:56 2011 +0100 (2011-03-11) |
parents | 121f9a2a94eb |
children | fc791f57fde8 |
line diff
1.1 --- a/ovz-web-panel/receipt Sat Mar 05 23:59:59 2011 +0000 1.2 +++ b/ovz-web-panel/receipt Fri Mar 11 09:31:56 2011 +0100 1.3 @@ -14,7 +14,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $PACKAGE 1.8 + cd $src 1.9 # Apply patches 1.10 while read patch_file; do 1.11 if [ -f done.$patch_file ]; then 1.12 @@ -27,7 +27,8 @@ 1.13 done <<EOT 1.14 owp-${VERSION}.u 1.15 EOT 1.16 - 1.17 + mkdir _pkg 1.18 + mv * _pkg 2> /dev/null || true 1.19 } 1.20 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 @@ -36,7 +37,7 @@ 1.23 mkdir -p $fs/usr/share \ 1.24 $fs/etc 1.25 1.26 - cp -a $PACKAGE $fs/usr/share 1.27 + cp -a $_pkg $fs/usr/share/$PACKAGE 1.28 cp -a $fs/usr/share/$PACKAGE/config/owp.conf.sample $fs/etc/owp.conf 1.29 cp -a $fs/usr/share//$PACKAGE/utils/hw-daemon/hw-daemon.ini.sample $fs/usr/share/$PACKAGE/utils/hw-daemon/hw-daemon.ini 1.30