wok-6.x rev 13462
Up: sudo (1.8.6p3)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Oct 08 00:14:17 2012 +0200 (2012-10-08) |
parents | f9732678756f |
children | 5f4c4d819318 |
files | sudo/receipt |
line diff
1.1 --- a/sudo/receipt Sun Oct 07 23:54:36 2012 +0200 1.2 +++ b/sudo/receipt Mon Oct 08 00:14:17 2012 +0200 1.3 @@ -29,11 +29,10 @@ 1.4 genpkg_rules() 1.5 { 1.6 mkdir -p $fs/usr/lib 1.7 - mkdir -p $fs/etc 1.8 - cp -a $_pkg/usr/bin $fs/usr 1.9 - cp -a $_pkg/usr/sbin $fs/usr 1.10 - cp -a $_pkg/usr/lib/*.so $fs/usr/lib 1.11 - cp -a stuff/sudoers $fs/etc 1.12 + cp -a $install/usr/bin $fs/usr 1.13 + cp -a $install/usr/sbin $fs/usr 1.14 + cp -a $install/usr/lib/*.so $fs/usr/lib 1.15 + cp -a $install/etc $fs/ 1.16 } 1.17 1.18 pre_install() 1.19 @@ -50,7 +49,7 @@ 1.20 root=$1 1.21 echo "Processing post-install commands..." 1.22 if [ -f $root/etc/sudoers.bak ]; then 1.23 - rm -f $root/etc/sudoers 1.24 + mv $root/etc/sudoers $root/etc/sudoers-dist 1.25 mv $root/etc/sudoers.bak $root/etc/sudoers 1.26 else 1.27 chown root.root $root/etc/sudoers