Try to remove empty "rw" locale directories when uninstalling.

This commit is contained in:
Joerg Wunsch 2006-03-27 05:02:19 +00:00
parent 6e79cdf959
commit a4b1f4219b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158239
2 changed files with 3 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITES+= http://people.freebsd.org/~joerg/:local

View file

@ -73,6 +73,8 @@ share/locale/tr/LC_MESSAGES/gcc.mo
share/locale/vi/LC_MESSAGES/cpplib.mo
share/locale/zh_CN/LC_MESSAGES/cpplib.mo
share/locale/zh_CN/LC_MESSAGES/gcc.mo
@unexec /bin/rmdir %D/share/locale/rw/LC_MESSAGES 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/share/locale/rw 2>/dev/null || /usr/bin/true
@dirrm lib/gcc/avr/4.1.0/avr3
@dirrm lib/gcc/avr/4.1.0/avr4
@dirrm lib/gcc/avr/4.1.0/avr5