Remove some control-center directories if they exist and are empty. This

keeps us from adding a mostly superfluous RUN_DEPENDS on gnomecontrolcenter2.

Reported by:	adamw
This commit is contained in:
Joe Marcus Clarke 2004-01-11 07:07:35 +00:00
parent f06f7333d1
commit 7b9a75cf65
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97907
2 changed files with 4 additions and 0 deletions

View file

@ -40,4 +40,6 @@ share/locale/vi/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
share/locale/wa/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
share/locale/zh_CN/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
@dirrm share/gnome/gnome-spell-%%VERSION%%
@unexec /bin/rmdir %D/share/gnome/control-center-2.0/icons 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/share/gnome/control-center-2.0 2>/dev/null || /usr/bin/true
@dirrm lib/gnome-spell

View file

@ -40,4 +40,6 @@ share/locale/vi/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
share/locale/wa/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
share/locale/zh_CN/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
@dirrm share/gnome/gnome-spell-%%VERSION%%
@unexec /bin/rmdir %D/share/gnome/control-center-2.0/icons 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/share/gnome/control-center-2.0 2>/dev/null || /usr/bin/true
@dirrm lib/gnome-spell