2014-02-23 15:26:32 +01:00
|
|
|
#!/bin/bash
|
|
|
|
#apt-get update
|
2014-09-04 17:19:43 +02:00
|
|
|
if dpkg -l | grep ttf-mscorefonts-installer | grep ii
|
2014-02-23 15:26:32 +01:00
|
|
|
then
|
|
|
|
echo "Windows-Schriftarten sind bereits installiert"
|
|
|
|
zenity --info --title "Info" --text "Windows-Schriftarten sind bereits installiert"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
if sudo apt-get install ttf-mscorefonts-installer
|
|
|
|
then
|
|
|
|
zenity --info --title "Erfolg" --text "Windows-Schriftarten wurden erfolgreich installiert"
|
|
|
|
else
|
|
|
|
zenity --error --title "Fehler" --text "Windows-Schriftarten wurden nicht erfolgreich installiert"
|
|
|
|
fis
|