From 4cb8a57fb3733338b89963330a28ac8a19775591 Mon Sep 17 00:00:00 2001 From: gobo72 Date: Sat, 20 Oct 2012 21:35:39 +0000 Subject: [PATCH] =?utf8?q?-R=C3=A9gl=C3=A9=20probl=C3=A8me=20de=20d=C3=A9m?= =?utf8?q?arrage=20de=20Firefox:=20prenait=204=20ou=205=20fois=20avant=20d?= =?utf8?q?e=20d=C3=A9marrer;=20-R=C3=A9gl=C3=A9=20probl=C3=A8me=20lors=20d?= =?utf8?q?e=20l'installation=20(missing=20run-mozilla.sh).?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- stage5/pkg/firefox | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stage5/pkg/firefox b/stage5/pkg/firefox index b181ad4..1035f82 100644 --- a/stage5/pkg/firefox +++ b/stage5/pkg/firefox @@ -102,10 +102,14 @@ EOF chown -Rv root:root /usr/lib/xulrunner-* \ /usr/share/idl/xulrunner-* \ /usr/include/xulrunner-* + + # Fixes the error "run-mozilla.sh: no such file or directory" + ln -s /usr/lib/xulrunner-devel-${FIREFOX_VERSION}/sdk/bin/run-mozilla.sh /usr/lib/xulrunner-devel-${FIREFOX_VERSION}/bin + ln -s /usr/lib/xulrunner-devel-${FIREFOX_VERSION}/sdk/bin/xpcshell /usr/lib/xulrunner-devel-${FIREFOX_VERSION}/bin else rm /usr/bin/firefox echo "#!/bin/bash" > /usr/bin/firefox - echo "/usr/lib/xulrunner-${FIREFOX_VERSION}/xulrunner /usr/lib/firefox-${FIREFOX_VERSION}/application.ini \"${@}\"" >> /usr/bin/firefox + echo "/usr/lib/xulrunner-${FIREFOX_VERSION}/xulrunner /usr/lib/firefox-${FIREFOX_VERSION}/application.ini \"\${@}\"" >> /usr/bin/firefox chmod 755 /usr/bin/firefox fi } -- 2.20.1