1
0
Fork 0
mirror of https://github.com/Findus23/la-tools.git synced 2024-08-27 19:52:15 +02:00
la-tools/google-chrome.sh

18 lines
538 B
Bash
Raw Normal View History

2014-02-23 15:44:19 +01:00
#!/bin/bash
#apt-get update
if dpkg -l google-chrome|grep -q ii
then
echo "Google Chrome ist bereits installiert"
zenity --info --title "Info" --text "Google Chrome ist bereits installiert"
exit
fi
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
zenity --info --title "Erfolg" --text "Google Chrome wurde erfolgreich installiert"
else
zenity --error --title "Fehler" --text "Google Chrome wurde nicht erfolgreich installiert"
fi
rm /tmp/chrome.deb