21 lines
670 B
Bash
21 lines
670 B
Bash
#!/bin/bash
|
|
##########################################################################
|
|
# Shellscript : Beendet laufenden Firefox Application und löscht
|
|
# alle Firefox_*. Es bleibt nur die Firefox.app im Applicatin Ordner
|
|
# diese kann dann über den Patch Manager aktuallisiert werden.
|
|
# Autor : Andreas Vogel, macenterprise gmbh,
|
|
##########################################################################
|
|
|
|
# Close Firefox if run
|
|
|
|
if ( pgrep "firefox" > /dev/null ); then
|
|
echo "Killing Firefox"
|
|
sudo killall "firefox"
|
|
else
|
|
echo "Firefox is not running"
|
|
fi
|
|
|
|
# Delete all ather Versions of Application Firefox
|
|
|
|
sudo rm -rfv /Applications/Firefox_*.app
|