aboutsummaryrefslogtreecommitdiff
path: root/chinese/moefonts-cid
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2006-02-27 12:06:30 +0000
committerHiroki Sato <hrs@FreeBSD.org>2006-02-27 12:06:30 +0000
commit50c4dcfc5c06a73d93d783499b7e40a0f965ee27 (patch)
tree655c074c3a718eb55057e5e644745d2bdffb8968 /chinese/moefonts-cid
parent8e1da024707e9f99a7e41b16bc09c6636d263204 (diff)
downloadports-50c4dcfc5c06a73d93d783499b7e40a0f965ee27.tar.gz
ports-50c4dcfc5c06a73d93d783499b7e40a0f965ee27.zip
Fix an unexpected permission change from before and after port
installation and deinstallation. Spotted by: pointyhat Approved by: portmgr (krion)
Notes
Notes: svn path=/head/; revision=156852
Diffstat (limited to 'chinese/moefonts-cid')
-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 0a378bcd7a72..4836561eca06 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}