freebsd-ports/japanese/ptex/pkg-install
Masafumi Max NAKANE 2b067ae111 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.
2001-01-30 16:26:37 +00:00

15 lines
346 B
Bash

#!/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" != "PRE-INSTALL" ]; then
exit;
fi
for f in ${files}; do
if [ -f $f ]; then
mv $f $f.old
fi
done