aboutsummaryrefslogtreecommitdiff
path: root/firefox-profile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-03-07 04:25:34 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-03-07 04:25:34 -0300
commit50e5bf376fa30c1bac70926cf5c9e6340df598b3 (patch)
treeae85eca9d808bf5e7fd7bdadf916c157b9c867a4 /firefox-profile
parentec8a314bc18e86fdb4460a9feabe7d9faed09eec (diff)
downloadutils-x11-50e5bf376fa30c1bac70926cf5c9e6340df598b3.tar.gz
utils-x11-50e5bf376fa30c1bac70926cf5c9e6340df598b3.tar.bz2
Full implementation of lightweight session manager
Diffstat (limited to 'firefox-profile')
-rwxr-xr-xfirefox-profile5
1 files changed, 5 insertions, 0 deletions
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