From da1ce3d38b7d698c76afa133b4bf2be0776f69c3 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Sat, 3 Feb 2007 02:02:54 +0000 Subject: [PATCH] Stefan Fiedler: firefox: fix version of binary package by restoring original version variable [2006123116310563450] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8206 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/x11/firefox/firefox.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/x11/firefox/firefox.conf b/package/x11/firefox/firefox.conf index 12675f2b5..5c12e3c84 100644 --- a/package/x11/firefox/firefox.conf +++ b/package/x11/firefox/firefox.conf @@ -40,6 +40,7 @@ moz_main() { # we must not have $ver defined on the firefox version. # it would become the "rv-part" of the User-Agent ID-String. # we need to set it to the milestone version (mozilla version) + old_ver="$ver" export ver="`grep '^[0-9]' ./config/milestone.txt`" moz_fixup moz_implant_version @@ -69,5 +70,7 @@ EOT moz_register # this annoying javascript (tm) based whatever component registration $root/$bindir/firefox -register + + ver="$old_ver" }