2014-02-23 15:39:58 +01:00
|
|
|
#!/bin/bash
|
2014-12-01 17:01:47 +01:00
|
|
|
TEXTDOMAIN=la-tools
|
|
|
|
TEXTDOMAINDIR=./
|
|
|
|
name="Skype"
|
2014-12-01 17:46:52 +01:00
|
|
|
./installed.sh skype $name && exit
|
2014-12-20 12:18:46 +01:00
|
|
|
cd /tmp
|
2014-12-01 18:39:06 +01:00
|
|
|
URL="http://download.skype.com/linux/skype-debian_4.2.0.13-1_i386.deb"
|
|
|
|
wget -c $URL
|
|
|
|
if sudo dpkg -i ./$(basename $URL)
|
2014-02-23 15:39:58 +01:00
|
|
|
then
|
2014-12-01 17:01:47 +01:00
|
|
|
zenity --info --title $"Success" --text $"$name successfully installed"
|
2014-02-23 15:39:58 +01:00
|
|
|
else
|
2014-12-01 17:01:47 +01:00
|
|
|
zenity --error --title $"Error" --text $"An error occurred while installing $name"
|
2014-02-23 15:39:58 +01:00
|
|
|
fi
|
2014-12-20 12:18:46 +01:00
|
|
|
|