2014-02-23 15:44:19 +01:00
|
|
|
#!/bin/bash
|
2014-12-01 17:01:47 +01:00
|
|
|
TEXTDOMAIN=la-tools
|
|
|
|
TEXTDOMAINDIR=./
|
|
|
|
name="Google Chrome"
|
|
|
|
|
2014-12-01 17:46:52 +01:00
|
|
|
./installed.sh google-chrome $name && exit
|
2014-02-23 15:44:19 +01:00
|
|
|
wget -O /tmp/chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
|
|
|
|
|
|
|
|
if dpkg -i /tmp/chrome.deb -y
|
|
|
|
then
|
2014-12-01 17:01:47 +01:00
|
|
|
zenity --info --title $"Success" --text $"$name successfully installed"
|
2014-02-23 15:44:19 +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:44:19 +01:00
|
|
|
fi
|
|
|
|
rm /tmp/chrome.deb
|