removed exit if pkill fails

This commit is contained in:
Jonas Forsberg 2020-08-03 16:08:13 +02:00
parent de2064dead
commit db8225df50
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -60,7 +60,9 @@ function gnome_config(){
if asktobreak; then if asktobreak; then
return return
fi fi
set +e
pkill -f firefox pkill -f firefox
set -e
log "Launching firefox to install GNOME Extetions" log "Launching firefox to install GNOME Extetions"
firefox https://extensions.gnome.org/extension/1031/topicons/ firefox https://extensions.gnome.org/extension/1031/topicons/
firefox https://extensions.gnome.org/extension/600/launch-new-instance/ firefox https://extensions.gnome.org/extension/600/launch-new-instance/
@ -146,7 +148,9 @@ function firefox_config(){
if asktobreak;then if asktobreak;then
return return
fi fi
set +e
pkill -f firefox pkill -f firefox
set -e
$HOME/bin/install_firefox_addon $HOME/bin/install_firefox_addon
} }