Thanks for making this change.  You'll need to update debian/control
too, and add an alternative dependency on abroswer as well.

On Sat, May 23, 2009 at 1:02 AM, Xavier Roche <[email protected]> wrote:
> severity 530031 wishlist
> tag 530031 +pending
> tag 530031 +patch
> thanks
>
> Nick Ellery a écrit :
>>
>> Ubuntu currently alternatively depends on abrowser for the webhttrack
>> package, alongside the other browsers.  It would benefit greatly if
>> abrowser was added as an alternative depend for webhttrack.
>
> This will be done in the upcoming release ; I also have added the iceweasel
> browser (the firefox alias always exist btw)
>
> Patch:
>
> diff -rudb httrack-3.43.5/src/webhttrack httrack-3.43.5.1/src/webhttrack
> --- httrack-3.43.5/src/webhttrack       2008-07-23 20:02:13.000000000 +0200
> +++ httrack-3.43.5.1/src/webhttrack     2009-05-23 09:53:45.000000000 +0200
> @@ -4,7 +4,7 @@
>  # Initializes the htsserver GUI frontend and launch the default browser
>
>  BROWSEREXE=
> -SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla firefox firebird
> galeon konqueror opera netscape"
> +SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla firefox iceweasel
> abrowser firebird galeon konqueror opera netscape"
>  if test -n "${BROWSER}"; then
>  # sensible-browser will f up if BROWSER is not set
>  SRCHBROWSEREXE="xdg-open sensible-browser ${SRCHBROWSEREXE}"
> @@ -33,6 +33,10 @@
>  [ $? -eq 0 ] && return 0
>  echo "$1" | grep -q "firefox"
>  [ $? -eq 0 ] && return 0
> +echo "$1" | grep -q "iceweasel"
> +[ $? -eq 0 ] && return 0
> +echo "$1" | grep -q "abrowser"
> +[ $? -eq 0 ] && return 0
>  return 1;
>  }
>  function mozillaloaded  {
>



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to