diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 06:28:59 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 06:28:59 +0000 |
commit | 186c2e326cb8f9a0f44b44cdbf6314e0999b346e (patch) | |
tree | d6ef0b4cb3c1fa6a810fcdd9bfa232d1cf549823 /news/papercut | |
parent | 6a77d20e05b80528dcd9a58bcc85fd76537a65da (diff) |
Notes
Diffstat (limited to 'news/papercut')
-rw-r--r-- | news/papercut/pkg-plist | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/news/papercut/pkg-plist b/news/papercut/pkg-plist index 117bd3e771bc..6e0d0c96574a 100644 --- a/news/papercut/pkg-plist +++ b/news/papercut/pkg-plist @@ -49,9 +49,7 @@ bin/papercut @unexec [ -f %D/%%DATADIR%%/storage/phpbb_mysql.pyc ] && rm %D/%%DATADIR%%/storage/phpbb_mysql.pyc || true @unexec [ -f %D/%%DATADIR%%/storage/strutil.pyc ] && rm %D/%%DATADIR%%/storage/strutil.pyc || true @dirrm %%DATADIR%%/auth -@unexec [ -d %D/%%DATADIR%%/cache ] && rmdir %%DATADIR%%/cache 2>/dev/null || true -@unexec [ -d %D/%%DATADIR%%/logs ] && rmdir %%DATADIR%%/logs 2>/dev/null || true @dirrm %%DATADIR%%/storage -@unexec rmdir %D/%%DATADIR%%/cache || true -@unexec rmdir %D/%%DATADIR%%/logs || true +@dirrmtry %%DATADIR%%/cache +@dirrmtry %%DATADIR%%/logs @unexec rmdir %D/%%DATADIR%% 2> /dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf %D/%%DATADIR%%`` to remove any files left." | fmt |