summaryrefslogtreecommitdiffstats
path: root/japanese/ptex/pkg-install
blob: 3c64b806ae06bac988f0272392890e21e7e9be0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
OpenPOWER on IntegriCloud