wok-6.x diff slitaz-base-files/receipt @ rev 52
Modified slitaz-base-files + slitaz-boot-scripts to avoid errosr msg
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 20 22:17:41 2007 +0100 (2007-12-20) |
parents | 5b9b4307925d |
children | e510cfe46815 |
line diff
1.1 --- a/slitaz-base-files/receipt Thu Dec 13 11:25:28 2007 +0100 1.2 +++ b/slitaz-base-files/receipt Thu Dec 20 22:17:41 2007 +0100 1.3 @@ -34,19 +34,17 @@ 1.4 { 1.5 local root 1.6 root=$1 1.7 - echo -n "Creating backup of all files in /etc..." 1.8 - cp -a $root/etc $root/tmp/etc.bak 1.9 - status 1.10 + echo "Creating backup of all files in /etc..." 1.11 + cp -a $root/etc $root/tmp/etc.bak 2>/dev/null 1.12 } 1.13 1.14 post_install() 1.15 { 1.16 local root 1.17 root=$1 1.18 - echo -n "Restoring files from /etc/etc.bak..." 1.19 - cp -a $root/tmp/etc.bak/* $root/etc 1.20 + echo "Restoring files from /etc/etc.bak..." 1.21 + cp -a $root/tmp/etc.bak/* $root/etc 2>/dev/null 1.22 rm -rf $root/tmp/etc.bak 1.23 - status 1.24 1.25 # Remove old base-file pkg info 1.26 rm -rf $root/var/lib/tazpkg/installed/base-files