#!/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
