diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-07-19 08:15:33 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-07-19 08:15:33 +0000 |
commit | 708a7296c5a1f57173d5a0694c2a867ead6a5dd5 (patch) | |
tree | 2f4d05550ccc95780dbf449830cfc9b19d6a8b00 /security/sudo/pkg-plist | |
parent | c75f2c1cfd8ce3b89a581c4fd1300e3549303fd5 (diff) | |
download | ports-708a7296c5a1f57173d5a0694c2a867ead6a5dd5.tar.gz ports-708a7296c5a1f57173d5a0694c2a867ead6a5dd5.zip |
Notes
Diffstat (limited to 'security/sudo/pkg-plist')
-rw-r--r-- | security/sudo/pkg-plist | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist index e4ca595b134b..ab2792bdc9a5 100644 --- a/security/sudo/pkg-plist +++ b/security/sudo/pkg-plist @@ -1,4 +1,5 @@ -@unexec if cmp -s %D/etc/sudoers %D/etc/sudoers.sample; then rm -f %D/etc/sudoers; fi +@unexec if cmp -s %D/etc/sudoers %%EXAMPLESDIR%%/sudoers; then rm -f %D/etc/sudoers; fi bin/sudo -etc/sudoers.sample sbin/visudo +%%EXAMPLESDIR%%/sudoers +@dirrm %%EXAMPLESDIR%% |