diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 2001-01-30 16:26:37 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 2001-01-30 16:26:37 +0000 |
commit | 2b067ae111e6f72e39394ba88c4c29fbff2deb17 (patch) | |
tree | 7f4c9192e58db4b80434bb3aa8f3a87ccd072bf0 /japanese/ptex/pkg-deinstall | |
parent | Fix a problem where the socket wasn't being removed and everybuddy (diff) |
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/pkg-deinstall')
-rw-r--r-- | japanese/ptex/pkg-deinstall | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/japanese/ptex/pkg-deinstall b/japanese/ptex/pkg-deinstall new file mode 100644 index 000000000000..c432da27777a --- /dev/null +++ b/japanese/ptex/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 |