Below is a code snippet from a doinst.sh script taken from a .txz package.
Precise's bash could not execute this script (after making it executable). It complains a directory not found.
The missing / in front of the usr/bin parts is the problem.
Since I do usually NOT know, what content such doinst.sh script might include, I'm searching for a quick/short solution to transform these lines into lines that can be executed in bash in precise.
Any hints?
Code: Select all
( cd usr/bin ; rm -rf jack_disconnect )
( cd usr/bin ; ln -sf jack_connect jack_disconnect )
( cd usr/lib ; rm -rf libjackserver.so.0 )
( cd usr/lib ; ln -sf libjackserver.so.0.1.0 libjackserver.so.0 )
( cd usr/lib ; rm -rf libjack.so.0 )
( cd usr/lib ; ln -sf libjack.so.0.1.0 libjack.so.0 )
( cd usr/lib ; rm -rf libjack.so )
( cd usr/lib ; ln -sf libjack.so.0.1.0 libjack.so )
( cd usr/lib ; rm -rf libjackserver.so )
( cd usr/lib ; ln -sf libjackserver.so.0.1.0 libjackserver.so )