Bradford_Dissolvable_Agent.sh dependency problems

You have a problem with Salix? Post here and we'll do what we can to help.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Bradford_Dissolvable_Agent.sh dependency problems

Post by Shador »

That line executes fine:

Code: Select all

$ lsb_release=$(which lsb_release); $lsb_release -v | grep -E "core-(3|4)\..-(ia32|x86_64)" >/dev/null; echo $?
0
0 means success.
So if it had sucess it extracts the binary portions, does some other stuff and finally launches the binary (which fails).

The actual problem is probably that it only searches within /usr/bin or /bin/ for the lsb_release script. Run this on your school's binary (fresh download please):

Code: Select all

sed -e 's#lsb_release=/usr/bin/lsb_release#lsb_release=`which lsb_release`# -i /path/to/binary'
Otherwise you could put lsb_release into /bin or /usr/bin, because the binary might only search there, too.

I just tried to run the script and it worked fine. Except that I couldn't successfully run the binary as I only got the first line of it.
Image
Post Reply