From 50e5bf376fa30c1bac70926cf5c9e6340df598b3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 7 Mar 2018 04:25:34 -0300 Subject: Full implementation of lightweight session manager --- firefox-profile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firefox-profile') diff --git a/firefox-profile b/firefox-profile index a995bde..9a24a69 100755 --- a/firefox-profile +++ b/firefox-profile @@ -2,6 +2,11 @@ # Wrapper around firefox # +if ! which firefox &> /dev/null; then + echo "Please install firefox" + exit 1 +fi + if [ ! -z "$1" ]; then iceweasel -p $1 -new-instance & else -- cgit v1.2.3