FIXUPHACK 572 B

1234567891011121314
  1. #if the pkg created in packages-woof has something wrong, this file is a last
  2. #resort to fix it. Current-dir is where this file FIXUPHACK is located.
  3. #$UPKGVERSION is the pkg version (without the ubuntu suffixes), usually available here.
  4. [ -f usr/bin/gsc ] && ln -snf gsc usr/bin/gs
  5. [ ! -e usr/bin/ghostscript ] && ln -s gs usr/bin/ghostscript
  6. if [ "$UPKGVERSION" != "" ];then
  7. ln -s $UPKGVERSION usr/share/ghostscript/8.11
  8. ln -s $UPKGVERSION usr/share/ghostscript/8.51
  9. ln -s $UPKGVERSION usr/share/ghostscript/8.54
  10. ln -s $UPKGVERSION usr/share/ghostscript/8.60
  11. fi