aboutsummaryrefslogtreecommitdiff
path: root/firefox-profile
diff options
context:
space:
mode:
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