diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 03:01:03 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 03:01:03 +0000 |
commit | 508b8d82f4fdfc6889fe17931ef30f047501dfd6 (patch) | |
tree | f7810d4887e5297c7b7788225e906b99c81d709b /security/ssh2 | |
parent | 4008c7e23fe847e2c8ade0ecb5d86f943d84c917 (diff) | |
download | ports-508b8d82f4fdfc6889fe17931ef30f047501dfd6.tar.gz ports-508b8d82f4fdfc6889fe17931ef30f047501dfd6.zip |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related)
Notes
Notes:
svn path=/head/; revision=154116
Diffstat (limited to 'security/ssh2')
-rw-r--r-- | security/ssh2/pkg-plist | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/ssh2/pkg-plist b/security/ssh2/pkg-plist index 4bb3ecf2d02f..523c27579984 100644 --- a/security/ssh2/pkg-plist +++ b/security/ssh2/pkg-plist @@ -53,7 +53,7 @@ sbin/sshd2 %%EXAMPLESDIR%%/ext_authorization_example.sh %%EXAMPLESDIR%%/kbdint_plugin_example.sh @dirrm %%EXAMPLESDIR%% -@unexec rmdir %D/etc/ssh2/hostkeys 2> /dev/null || true -@unexec rmdir %D/etc/ssh2/knownhosts 2> /dev/null || true -@unexec rmdir %D/etc/ssh2/subconfig 2> /dev/null || true +@dirrmtry etc/ssh2/hostkeys +@dirrmtry etc/ssh2/knownhosts +@dirrmtry etc/ssh2/subconfig @unexec rmdir %D/etc/ssh2 2> /dev/null || echo "If permanently deleting this package, %D/etc/ssh2 and its contents must be removed manually." |