wok diff sudo/receipt @ rev 15153

otf-gfs: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 16:19:38 2013 +0000 (2013-08-15)
parents 249909505345
children 3b4e4318134e
line diff
     1.1 --- a/sudo/receipt	Mon Oct 01 16:58:09 2012 +0000
     1.2 +++ b/sudo/receipt	Thu Aug 15 16:19:38 2013 +0000
     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