firefox and enabled extensions
Kacper Kornet
kornet at camk.edu.pl
Thu Feb 24 19:30:47 CET 2005
On Thu, Feb 24, 2005 at 07:06:41PM +0100, Arkadiusz Miskiewicz wrote:
> btw. this change
> -TDIR=`mktemp -d /tmp/mozilla-firefox-pkg.XXXXXX` || exit 1
> -HOME="$TDIR"
> -export TDIR HOME
> -
> -mkdir -p $TDIR/.mozilla/firefox/default
> -cp -rf %{_firefoxdir}/defaults/profile/* $TDIR/.mozilla/firefox/default
> -
> -# preseed profiles.ini
> -cat > $TDIR/.mozilla/firefox/profiles.ini <<EOF
> -[General]
> -StartWithLastProfile=1
> -
> -[Profile0]
> -Name=default
> -IsRelative=1
> -Path=default
> -
> -EOF
> -
> -
> -( \
> - /usr/X11R6/bin/Xvfb :69 -nolisten tcp -ac -terminate >/dev/null 2>&1 &
> \
> - xvfb_pid=${!}; \
> - DISPLAY=:69 %{_firefoxdir}/firefox-bin -list-global-items >/dev/null
> 2>&1 & \
> - sleep 15; \
> - kill ${xvfb_pid} >/dev/null 2>&1 \
> -)
> -
> -rm -rf $TDIR
> +%{_firefoxdir}/firefox -register
>
> broke firefox for me. Now after rpm -e mozilla-firefox; rm
> -rf /usr/lib/mozilla-firefox; mozilla-firefox it does something and then
> ends.
I'm sorry by I don't understand what you are doing. First you uninstall
mozilla-firefox and then you run it?
>
> rm -rf part is important because there are some files left afer rpm -e (and
> doesn't seem to be marked as %ghost).
I didn't know what to do with them. I have to read about %ghost.
There is also a second problem with uninstalling mozilla-firefox. When %post
script of mozilla-firefox-lang-en is invoked after %post script of
mozilla-firefox the former one fails. Is it any way to force the order in
which those scrips are invoked during
rpm -e mozilla-firefox-lang-en mozilla-firefox
--
Kacper Kornet
More information about the pld-devel-en
mailing list