Don't remove all empty locale directories, only the ones we (might have)

created.
This commit is contained in:
Kris Kennaway 2004-11-24 21:39:01 +00:00
parent 39212fa861
commit 9a7342eb8d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122336

View file

@ -12,9 +12,18 @@ share/locale/ja/LC_MESSAGES/minicom.mo
share/locale/pl/LC_MESSAGES/minicom.mo
share/locale/pt_BR/LC_MESSAGES/minicom.mo
share/locale/ru/LC_MESSAGES/minicom.mo
@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/* 2>/dev/null || true
@unexec rmdir %D/share/locale 2>/dev/null || true
@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/fi/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/hu/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/ja/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/pt_BR/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/cs 2>/dev/null || true
@unexec rmdir %D/share/locale/fi 2>/dev/null || true
@unexec rmdir %D/share/locale/pl 2>/dev/null || true
@exec /usr/sbin/chown uucp %D/etc/minicom
@unexec rmdir %D/etc/minicom 2>/dev/null || true
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS