hammer v2
September 4th, 2008, 11:20 AM
Hi guys,
I'm getting a wierd error when trying to run this executable bash script;
#!/bin/bash
gksu
sudo mkdir /tmp/setupsdeb
sudo cp -r *.* /tmp/setupsdeb
sudo cp -r ./install -d /tmp/setupsdeb/
sudo mv -f /etc/apt/sources.list /etc/apt/sources.list.bak
sudo mv -f /etc/apt/sources.list.d /etc/apt/sources.list.d.bak
sudo cp sources.list -t /etc/apt/
gksu gdebi-gtk AMSN-SUPERDEB-BETA.deb
yes | sudo apt-get install AMSN-SUPERDEB-BETA
sudo mv -f /etc/apt/sources.list.bak /etc/apt/sources.list
sudo mv -f /etc/apt/sources.list.d.bak /etc/apt/sources.list.d
zenity --info /
--text="Setup Completed. You can now run the program from the applications menu"
exit 1
fi
This is the error that comes up;
http://superdeb.googlecode.com/files/Untitled.jpg
Any ideas as to why? How do I stop this from happening? - This is under Gutsy BTW..
Thanks!
H.
I'm getting a wierd error when trying to run this executable bash script;
#!/bin/bash
gksu
sudo mkdir /tmp/setupsdeb
sudo cp -r *.* /tmp/setupsdeb
sudo cp -r ./install -d /tmp/setupsdeb/
sudo mv -f /etc/apt/sources.list /etc/apt/sources.list.bak
sudo mv -f /etc/apt/sources.list.d /etc/apt/sources.list.d.bak
sudo cp sources.list -t /etc/apt/
gksu gdebi-gtk AMSN-SUPERDEB-BETA.deb
yes | sudo apt-get install AMSN-SUPERDEB-BETA
sudo mv -f /etc/apt/sources.list.bak /etc/apt/sources.list
sudo mv -f /etc/apt/sources.list.d.bak /etc/apt/sources.list.d
zenity --info /
--text="Setup Completed. You can now run the program from the applications menu"
exit 1
fi
This is the error that comes up;
http://superdeb.googlecode.com/files/Untitled.jpg
Any ideas as to why? How do I stop this from happening? - This is under Gutsy BTW..
Thanks!
H.