summaryrefslogtreecommitdiffstats
path: root/chinese/moefonts-cid/files/pkg-deinstall.in
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/moefonts-cid/files/pkg-deinstall.in')
-rw-r--r--chinese/moefonts-cid/files/pkg-deinstall.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/chinese/moefonts-cid/files/pkg-deinstall.in b/chinese/moefonts-cid/files/pkg-deinstall.in
index 0a378bc..4836561 100644
--- a/chinese/moefonts-cid/files/pkg-deinstall.in
+++ b/chinese/moefonts-cid/files/pkg-deinstall.in
@@ -11,5 +11,6 @@ if [ "x$2" != "xDEINSTALL" ]; then
exit 0
fi
+cp ${FONTMAP} ${FONTMAPTMP}
sed -e "/^\/MOE.*/d" ${FONTMAP} > ${FONTMAPTMP}
mv -f ${FONTMAPTMP} ${FONTMAP}
OpenPOWER on IntegriCloud