I am just curious so low priority and anyone can answer as I am just testing my thoughts on this install script
libgs
#!/bin/sh
if [ ! -f /usr/local/bin/gs ]; then
ln -s gsc /usr/local/bin/gs
fi
[ -f /usr/local/lib/libgs.so.8 ] || ln -s /usr/local/lib/libgs.so.9 /usr/local/lib/libgs.so.8
I suspect
The first bit says if no file for gs then sym link gsc (without a pathway) to the missing file.
Why no full pathway is a question?
The second bit says for an old shared object found, sym link to the new updated file
Feel free to correct my understandings pls.
Why am I asking when I am not the maintainer etc.
--wellllll I am thinking of maintaining, but have yet to seek permisson
and have a script a built but I just want to see if there is a smarter way to my understanding
Obviously if I don't understand the script, people will have a lack of confidence in my tczs
hmmm ok they already have such .....I don't mind being the village idiot, it takes the pressure off
thanks for reading
trivia......maybe this was written when it was not so easy for people to update, so I can remove the second bit right?
b) now we have ghostscript tce.installed
#!/bin/sh
if [ -f /usr/local/bin/gsc ]; then
rm /usr/local/bin/gs
ln -s /tmp/tcloop/ghostscript/usr/local/bin/gs /usr/local/bin
fi
I am lost, what happens when someone installs both?