summaryrefslogtreecommitdiff
path: root/src/webhttrack
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2012-03-19 12:59:03 +0000
committerXavier Roche <xroche@users.noreply.github.com>2012-03-19 12:59:03 +0000
commit660b569b0980fc8f71b03ed666dd02eec8388b4c (patch)
tree8ad02b5f0bebdd4cd1d2ba01005d6f3f71a0a7fb /src/webhttrack
parent64cc4a88da8887ef1f7f4d90be0158d2cc76222d (diff)
httrack 3.41.2
Diffstat (limited to 'src/webhttrack')
-rwxr-xr-xsrc/webhttrack6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/webhttrack b/src/webhttrack
index aa0edca..11682c1 100755
--- a/src/webhttrack
+++ b/src/webhttrack
@@ -4,7 +4,7 @@
# Initializes the htsserver GUI frontend and launch the default browser
BROWSEREXE=
-SRCHBROWSEREXE="x-www-browser www-browser mozilla firefox firebird galeon konqueror opera netscape"
+SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla firefox firebird galeon konqueror opera netscape"
if test -n "${BROWSER}"; then
# sensible-browser will f up if BROWSER is not set
SRCHBROWSEREXE="sensible-browser ${SRCHBROWSEREXE}"
@@ -23,6 +23,8 @@ return 0
function mozillabrowser {
# returns 0, if the browser is mozilla type
+echo "$1" | grep -q "iceape"
+[ $? -eq 0 ] && return 0
echo "$1" | grep -q "mozilla"
[ $? -eq 0 ] && return 0
echo "$1" | grep -q "netscape"
@@ -39,7 +41,7 @@ if ! test -n "${user_name}"; then
user_name=`id -un`
fi
if test -n "${user_name}"; then
-ps -e --user "$user_name" | grep -qE "(mozilla|netscape|firebird|firefox)"
+ps -e --user "$user_name" | grep -qE "(iceape|mozilla|netscape|firebird|firefox)"
else
false
fi