Date: Sun, 27 Feb 2005 22:02:23 +0000 From: Jeremy Prior <jez@netcraft.com> To: gnome@freebsd.org Subject: firefox 1.0.1 profiles Message-ID: <1109541743.56667.10.camel@chagford.netcraft.com>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Just upgraded to firefox-1.0.1 without a hitch, until I tried to set the
profile from the command line - this invokes the profile manager
regardless of which profile is selected.
The firefox shell wrapper in /usr/X11R6/bin now parses flags/arguments
itself whereas before it just passed them through to firefox-bin.
However, it doesn't know about the -ProfileManager and -P options, and
assumes that any unknown flag doesn't take an argument. This is fine
for -ProfileManager, but obviously doesn't work for -P.
Ie:
% firefox -P default
/usr/X11R6/bin/firefox: WARN, target: /home/jez/.mozilla/firefox/default not an URI/file/dir
The patch to fix this is trivial (but attached :-)
jez
--
Jeremy Prior <jez@netcraft.com> http://www.netcraft.com/
Netcraft Ltd, Treenwood Ho, Rowden La, Bradford-on-Avon, BA15 2AZ. UK
Tel: +44-1225-867111 (switchboard) Fax: +44-8700-517767
[-- Attachment #2 --]
--- firefox.orig Sun Feb 27 16:43:23 2005
+++ firefox Sun Feb 27 21:49:12 2005
@@ -278,6 +278,15 @@
moreargs="${moreargs} $1"
shift
;;
+ -P)
+ if [ -n "$2" ]; then
+ moreargs="${moreargs} $1 '$2'"
+ shift 2
+ else
+ echo "$0: ERROR, -P needs an argument. Exiting" 1>&2
+ exit 1
+ fi
+ ;;
-*)
moreargs="${moreargs} $1"
shift
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1109541743.56667.10.camel>
