1
0
Fork 0
mirror of https://github.com/Findus23/la-tools.git synced 2024-08-27 19:52:15 +02:00
la-tools/skype.sh
2014-12-01 17:01:47 +01:00

20 lines
528 B
Bash
Executable file

#!/bin/bash
TEXTDOMAIN=la-tools
TEXTDOMAINDIR=./
name="Skype"
if dpkg -l | grep skype | grep ii
then
echo $"$name is already installed"
zenity --info --title $"Information" --text $"$name is already installed"
exit
fi
wget -O /tmp/skype.deb http://download.skype.com/linux/skype-debian_4.2.0.13-1_i386.deb
if dpkg -i /tmp/skype.deb -y
then
zenity --info --title $"Success" --text $"$name successfully installed"
else
zenity --error --title $"Error" --text $"An error occurred while installing $name"
fi
rm /tmp/skype.deb