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 | |
parent | 6a77d20e05b80528dcd9a58bcc85fd76537a65da (diff) |
Notes
Diffstat (limited to 'news')
-rw-r--r-- | news/papercut/pkg-plist | 6 | ||||
-rw-r--r-- | news/tin/pkg-plist | 4 |
2 files changed, 4 insertions, 6 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 diff --git a/news/tin/pkg-plist b/news/tin/pkg-plist index 6b1d0f28a262..9e82296189d6 100644 --- a/news/tin/pkg-plist +++ b/news/tin/pkg-plist @@ -19,5 +19,5 @@ share/locale/fr/LC_MESSAGES/tin.mo share/locale/ru/LC_MESSAGES/tin.mo share/locale/rw/LC_MESSAGES/tin.mo share/locale/tr/LC_MESSAGES/tin.mo -@unexec rmdir %D/share/locale/rw/LC_MESSAGES > /dev/null 2>&1 || true -@unexec rmdir %D/share/locale/rw > /dev/null 2>&1 || true +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw |