Browse Source

ghostscript: made symlink `gs` to `gsc` if `gs` wasn't installed already

cross
Alejandro Mery 16 years ago
parent
commit
1b0a3893b0
  1. 8
      graphic/ghostscript/ghostscript.conf

8
graphic/ghostscript/ghostscript.conf

@ -14,3 +14,11 @@
makeinstopt="$makeopt soinstall"
var_append makeopt ' ' 'so'
ghostscript_install_gs() {
if [ ! -e "$root$bindir/gs" ]; then
echo_warning 'gs not installed, making a symlink to gsc instead.'
ln -s gsc "$root$bindir/gs"
fi
}
hook_add postmake 5 'ghostscript_install_gs'

Loading…
Cancel
Save