diff options
Diffstat (limited to 'japanese/ptex-sjis/pkg-install')
-rw-r--r-- | japanese/ptex-sjis/pkg-install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/japanese/ptex-sjis/pkg-install b/japanese/ptex-sjis/pkg-install new file mode 100644 index 0000000..3c64b80 --- /dev/null +++ b/japanese/ptex-sjis/pkg-install @@ -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" != "PRE-INSTALL" ]; then + exit; +fi + +for f in ${files}; do + if [ -f $f ]; then + mv $f $f.old + fi + done |