ports/chinese/ghostscript6/pkg-install
2002-05-15 17:49:01 +00:00

14 lines
316 B
Bash

#!/bin/sh
GS6LIBDIR=${PKG_PREFIX}/share/ghostscript/7.05/lib
if [ "$2" = "POST-INSTALL" ]; then
exit 0
fi
if [ -r ${GS6LIBDIR}/gs_res.ps ]; then
cp -f ${GS6LIBDIR}/gs_res.ps ${GS6LIBDIR}/gs_res.ps.orig
fi
if [ -r ${GS6LIBDIR}/gs_ttf.ps ]; then
cp -f ${GS6LIBDIR}/gs_ttf.ps ${GS6LIBDIR}/gs_ttf.ps.orig
fi