2014-02-23 15:30:49 +01:00
|
|
|
#!/bin/bash
|
2014-12-01 17:01:47 +01:00
|
|
|
TEXTDOMAIN=la-tools
|
|
|
|
TEXTDOMAINDIR=./
|
|
|
|
name="Opera"
|
|
|
|
|
2014-12-01 17:46:52 +01:00
|
|
|
./installed.sh opera $name && exit
|
2014-02-23 15:30:49 +01:00
|
|
|
wget -O /tmp/opera.deb http://get.geo.opera.com/pub/opera/linux/1216/opera_12.16.1860_i386.deb
|
|
|
|
|
|
|
|
if dpkg -i /tmp/opera.deb -y
|
|
|
|
then
|
2014-12-01 17:01:47 +01:00
|
|
|
zenity --info --title $"Success" --text $"$name successfully installed"
|
2014-02-23 15:30:49 +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:30:49 +01:00
|
|
|
fi
|
|
|
|
rm /tmp/opera.deb
|
|
|
|
|