diff options
author | max <max@FreeBSD.org> | 2001-01-30 16:26:37 +0000 |
---|---|---|
committer | max <max@FreeBSD.org> | 2001-01-30 16:26:37 +0000 |
commit | 5b27717dcc75e6079b78e3cd3a58d01227b225aa (patch) | |
tree | 610de6d6d2bce9f1df8aee7bf077205753598dc4 /japanese/ptex-sjis/pkg-deinstall | |
parent | 1193fbd89a2dcd3ab070f4dc8eb13eef8d1b3d88 (diff) | |
download | FreeBSD-ports-5b27717dcc75e6079b78e3cd3a58d01227b225aa.zip FreeBSD-ports-5b27717dcc75e6079b78e3cd3a58d01227b225aa.tar.gz |
Upgrade japanese/ptex-* from 2.1.8 to 2.1.10.
This upgrade eliminates japanese/platex-{common,euc,jis,sjis} ports
since ptex includes pLaTeX2e since 2.1.9.
Diffstat (limited to 'japanese/ptex-sjis/pkg-deinstall')
-rw-r--r-- | japanese/ptex-sjis/pkg-deinstall | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/japanese/ptex-sjis/pkg-deinstall b/japanese/ptex-sjis/pkg-deinstall new file mode 100644 index 0000000..c432da2 --- /dev/null +++ b/japanese/ptex-sjis/pkg-deinstall @@ -0,0 +1,14 @@ +#!/bin/sh +# Preserve files installed by ptex-common, or other package/application. +# +files="${PKG_PREFIX}/bin/pltotf ${PKG_PREFIX}/bin/tftopl ${PKG_PREFIX}/share/texmf/web2c/texmf.cnf ${PKG_PREFIX}/share/texmf/ls-R" + +if [ "$2" != "POST-DEINSTALL" ]; then + exit; +fi + +for f in ${files}; do + if [ -f $f.old ]; then + mv $f.old $f + fi +done |