diff options
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 e4ca595b134..ab2792bdc9a 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%% |