diff options
Diffstat (limited to 'x11-fonts/intlfonts/files/DEINSTALL.tmpl')
-rw-r--r-- | x11-fonts/intlfonts/files/DEINSTALL.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-fonts/intlfonts/files/DEINSTALL.tmpl b/x11-fonts/intlfonts/files/DEINSTALL.tmpl index e4eae17628cb..b6e1d96284d7 100644 --- a/x11-fonts/intlfonts/files/DEINSTALL.tmpl +++ b/x11-fonts/intlfonts/files/DEINSTALL.tmpl @@ -15,4 +15,6 @@ if [ "x$2" = "xPOST-DEINSTALL" ]; then [ `wc -c ${PKG_PREFIX}/%%T1_FONTSDIR%%/fonts.scale | awk '{print $1}'` = 2 ] && rm -f ${PKG_PREFIX}/%%T1_FONTSDIR%%/fonts.scale # Remove a backup file made by type1inst rm -f ${PKG_PREFIX}/%%T1_FONTSDIR%%/fonts.scale.bak + [ "%%XWINSYS%%" = "xorg" ] && \ + (rmdir ${PKG_PREFIX}/%%T1_FONTSDIR%% 2>/dev/null || true) fi |