1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Fix pkg-deinstall script [1]

- Bump PORTREVISION, accordingly

PR:		ports/160414 [1]
Submitted by:	WATANABE Kazuhiro <CQG00620_AT_nifty_DOT_ne_DOT_jp> [1]
Approved by:	maintainer
This commit is contained in:
TAKATSU Tomonari 2011-09-19 14:45:01 +00:00
parent fdb59a6602
commit 6f83f8485c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281991
2 changed files with 5 additions and 3 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= alias-fonts
PORTVERSION= 1.0
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= japanese x11-fonts
MASTER_SITES= # empty
DISTFILES= # empty

View File

@ -1,6 +1,10 @@
#!/bin/sh
# $FreeBSD$
if [ $2 != "DEINSTALL" ]; then
exit 0
fi
dir="${PKG_PREFIX}/lib/X11/fonts/local";
to="$dir/fonts.alias";
from="$to.orig";
@ -20,5 +24,3 @@ while read line; do
*) echo $line;;
esac
done < $from > $to
rm $from