mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
15 lines
341 B
Plaintext
15 lines
341 B
Plaintext
|
#!/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
|