123456789101112131415161718192021222324 |
- #if the pkg created in packages-woof has something wrong, this file is a last
- #resort to fix it. Current-dir is where this file FIXUPHACK is located.
- [ -f usr/bin/gsc ] && ln -snf gsc usr/bin/gs
- [ ! -e usr/bin/ghostscript ] && ln -s gs usr/bin/ghostscript
- UPKGVERSION=""
- PATHVER="`find usr/share/ghostscript -maxdepth 1 -mindepth 1 -type d | head -n 1`"
- [ "$PATHVER" != "" ] && UPKGVERSION="`basename $PATHVER`"
- if [ "$UPKGVERSION" != "" ];then
- [ "$UPKGVERSION" != "8.11" ] && ln -s $UPKGVERSION usr/share/ghostscript/8.11
- [ "$UPKGVERSION" != "8.15" ] && ln -s $UPKGVERSION usr/share/ghostscript/8.15
- [ "$UPKGVERSION" != "8.51" ] && ln -s $UPKGVERSION usr/share/ghostscript/8.51
- [ "$UPKGVERSION" != "8.54" ] && ln -s $UPKGVERSION usr/share/ghostscript/8.54
- [ "$UPKGVERSION" != "8.60" ] && ln -s $UPKGVERSION usr/share/ghostscript/8.60
- [ "$UPKGVERSION" != "8.70" ] && ln -s $UPKGVERSION usr/share/ghostscript/8.70
- fi
- #cut out more fat...
- [ -d usr/share/ghostscript/${UPKGVERSION}/Resource/CMap ] && rm -f usr/share/ghostscript/${UPKGVERSION}/Resource/CMap/*
- #[ -d usr/share/ghostscript/${UPKGVERSION}/Resource/Font ] && rm -rf usr/share/ghostscript/${UPKGVERSION}/Resource/Font
- #110826 iguleder says need this for dpup cups printing, so comment-out...
- #[ -d usr/share/ghostscript/${UPKGVERSION}/Resource/Init ] && rm -f usr/share/ghostscript/${UPKGVERSION}/Resource/Init/*
|