aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/msttf/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/msttf/pkg-deinstall')
-rw-r--r--chinese/msttf/pkg-deinstall24
1 files changed, 0 insertions, 24 deletions
diff --git a/chinese/msttf/pkg-deinstall b/chinese/msttf/pkg-deinstall
deleted file mode 100644
index 592e404e0203..000000000000
--- a/chinese/msttf/pkg-deinstall
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-if [ "$2" != "DEINSTALL" ]; then
- exit 0
-fi
-
-PKGNAME=$1
-PREFIX=${PKG_PREFIX}
-TTFM=${PKG_PREFIX}/bin/ttfm.sh
-
-FONTDIR=${PREFIX}/share/fonts/TrueType
-FONTS="simhei.ttf simsun.ttc tahoma.ttf"
-
-if [ -r $FONTDIR/$PKGNAME ]; then
- for i in `cat $FONTDIR/$PKGNAME`; do
- for f in $FONTS; do
- $TTFM --remove $i $f
- done
- done
-fi
-
-rm -f $FONTDIR/$PKGNAME
-
-exit 0