summaryrefslogtreecommitdiff
path: root/japanese/mikachan-ttfonts/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/mikachan-ttfonts/pkg-deinstall')
-rw-r--r--japanese/mikachan-ttfonts/pkg-deinstall11
1 files changed, 0 insertions, 11 deletions
diff --git a/japanese/mikachan-ttfonts/pkg-deinstall b/japanese/mikachan-ttfonts/pkg-deinstall
deleted file mode 100644
index c5a978ddaedd..000000000000
--- a/japanese/mikachan-ttfonts/pkg-deinstall
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-if [ "$2" != "DEINSTALL" ]; then
- exit 0
-fi
-FONTDIR=${PKG_PREFIX}/share/fonts/TrueType
-cd ${FONTDIR}
-sed -e '/-mikachan-/d' fonts.dir > fonts.dir.tmp
-numfonts=$(echo $(cat fonts.dir.tmp | wc -l) - 1 | bc)
-echo ${numfonts} > fonts.dir
-sed -e 1d fonts.dir.tmp >> fonts.dir
-rm -f fonts.dir.tmp