From db8225df509ce42e64d2cca7445705b5c5784fa4 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Mon, 3 Aug 2020 16:08:13 +0200 Subject: [PATCH] removed exit if pkill fails --- bin/initDesktop | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/initDesktop b/bin/initDesktop index 1378a26..ae65fc2 100755 --- a/bin/initDesktop +++ b/bin/initDesktop @@ -60,7 +60,9 @@ function gnome_config(){ if asktobreak; then return fi + set +e pkill -f firefox + set -e log "Launching firefox to install GNOME Extetions" firefox https://extensions.gnome.org/extension/1031/topicons/ firefox https://extensions.gnome.org/extension/600/launch-new-instance/ @@ -146,7 +148,9 @@ function firefox_config(){ if asktobreak;then return fi + set +e pkill -f firefox + set -e $HOME/bin/install_firefox_addon }