summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-17 12:36:37 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-17 12:36:37 +0800
commitfca084077acbd8b6e4e561409eefb61c010722b7 (patch)
tree89d66c73616de356cfff0ccdbd635e1d5122abc2
parentc20fd13eaf27d090236b0f69d2b4b2681fce6004 (diff)
downloadmarcuscom-ports-fca084077acbd8b6e4e561409eefb61c010722b7.tar
marcuscom-ports-fca084077acbd8b6e4e561409eefb61c010722b7.tar.gz
marcuscom-ports-fca084077acbd8b6e4e561409eefb61c010722b7.tar.bz2
marcuscom-ports-fca084077acbd8b6e4e561409eefb61c010722b7.tar.lz
marcuscom-ports-fca084077acbd8b6e4e561409eefb61c010722b7.tar.xz
marcuscom-ports-fca084077acbd8b6e4e561409eefb61c010722b7.tar.zst
marcuscom-ports-fca084077acbd8b6e4e561409eefb61c010722b7.zip
Only remove the etc/fonts/conf.d and etc/fonts if they are empty.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4519 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11-fonts/fontconfig/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-fonts/fontconfig/pkg-plist b/x11-fonts/fontconfig/pkg-plist
index 72a8e0f54..9787a747e 100644
--- a/x11-fonts/fontconfig/pkg-plist
+++ b/x11-fonts/fontconfig/pkg-plist
@@ -158,5 +158,5 @@ libdata/pkgconfig/fontconfig.pc
%%PORTDOCS%%@dirrm %%DOCSDIR%%/fontconfig-devel
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/fontconfig
-@dirrm etc/fonts/conf.d
-@dirrm etc/fonts
+@unexec rmdir %D/etc/fonts/conf.d 2> /dev/null || true
+@unexec rmdir %D/etc/fonts 2> /dev/null || true