diff options
author | Michael Haro <mharo@FreeBSD.org> | 2001-09-18 22:50:50 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2001-09-18 22:50:50 +0000 |
commit | db52611b026e8452104b532abc645e2a4087a742 (patch) | |
tree | 9cc066c5b07073f200c928885721f4136270e586 /security/sudo | |
parent | use PLIST substitution instead of hard coded perl version strings (diff) |
if the sudoers file is unchanged from the sample one, remove it too
Notes
Notes:
svn path=/head/; revision=47970
Diffstat (limited to 'security/sudo')
-rw-r--r-- | security/sudo/pkg-plist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist index 389082a595e7..e4ca595b134b 100644 --- a/security/sudo/pkg-plist +++ b/security/sudo/pkg-plist @@ -1,3 +1,4 @@ +@unexec if cmp -s %D/etc/sudoers %D/etc/sudoers.sample; then rm -f %D/etc/sudoers; fi bin/sudo etc/sudoers.sample sbin/visudo |