summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2006-02-27 12:06:30 +0000
committerhrs <hrs@FreeBSD.org>2006-02-27 12:06:30 +0000
commit01ee5379f8b368e3c7902588ea4387b7d454fc67 (patch)
tree3f489035d1f2250030ed8dcc6144a7032a33c7b6
parentf67fa46969c27fc3376682b08a28c2fbf52b17c5 (diff)
downloadFreeBSD-ports-01ee5379f8b368e3c7902588ea4387b7d454fc67.zip
FreeBSD-ports-01ee5379f8b368e3c7902588ea4387b7d454fc67.tar.gz
Fix an unexpected permission change from before and after port
installation and deinstallation. Spotted by: pointyhat Approved by: portmgr (krion)
-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