Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1f361680b7968ece1db58600ef70efba31f08069

commit 1f361680b7968ece1db58600ef70efba31f08069
Author: Melko <lorddarthfe...@gmail.com>
Date:   Fri Jan 7 19:18:57 2011 +0100

sudo-1.7.4-2-i686

* prevent pacman-g2 from removing /etc/sudoers.d/ when it is empty

diff --git a/source/apps/sudo/FrugalBuild b/source/apps/sudo/FrugalBuild
index f2161a6..8d18389 100644
--- a/source/apps/sudo/FrugalBuild
+++ b/source/apps/sudo/FrugalBuild
@@ -24,6 +24,7 @@ build()
Fexe /etc/profile.d/sudo.sh
chmod 755 $Fdestdir/var || return 1
chmod 755 $Fdestdir/var/lib || return 1
+       echo "# You need this file so pacman-g2 will not remove /etc/sudoers.d 
accidentally." > $Fdestdir/etc/sudoers.d/.sudo || Fdie
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to