mirror of
https://github.com/Findus23/la-tools.git
synced 2024-08-27 19:52:15 +02:00
15 lines
406 B
Bash
15 lines
406 B
Bash
|
#!/bin/bash
|
||
|
apt-get update
|
||
|
if dpkg -l flashplugin-nonfree|grep -q ii
|
||
|
then
|
||
|
echo "Flash ist bereits installiert"
|
||
|
zenity --info --title "Info" --text "Flash ist bereits installiert"
|
||
|
exit
|
||
|
fi
|
||
|
if apt-get install flashplugin-nonfree -y
|
||
|
then
|
||
|
zenity --info --title "Erfolg" --text "Flash wurde erfolgreich installiert"
|
||
|
else
|
||
|
zenity --error --title "Fehler" --text "Flash wurde nicht erfolgreich installiert"
|
||
|
fi
|