From 7d3f0140744f34c6f7771ba098c414f2e1591aa7 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Wed, 8 Jul 2015 18:41:10 +0200 Subject: [PATCH] Added a fix for rhbz#1240259 - Firefox 39 does not open home page but restore session - second try --- firefox.sh.in | 2 +- firefox.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firefox.sh.in b/firefox.sh.in index 2a0dfc9..385a05c 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -170,7 +170,7 @@ MOZILLA_DOWN=0 if ! [ $MOZ_DISABLE_LANGPACKS ] || [ $MOZ_DISABLE_LANGPACKS -eq 0 ]; then if [ -x $MOZ_DIST_BIN/$MOZ_FIREFOX_FILE ]; then # Is firefox running? - $MOZ_DIST_BIN/$MOZ_FIREFOX_FILE -remote 'ping()' > /dev/null 2>&1 + /usr/bin/pidof firefox > /dev/null 2>&1 MOZILLA_DOWN=$? fi fi diff --git a/firefox.spec b/firefox.spec index 819279c..b2ab89c 100644 --- a/firefox.spec +++ b/firefox.spec @@ -107,7 +107,7 @@ Summary: Mozilla Firefox Web browser Name: firefox Version: 39.0 -Release: 7%{?pre_tag}%{?dist} +Release: 8%{?pre_tag}%{?dist} URL: http://www.mozilla.org/projects/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -815,7 +815,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog -* Mon Jul 06 2015 Martin Stransky - 39.0-7 +* Mon Jul 06 2015 Martin Stransky - 39.0-8 - Added a fix for rhbz#1240259 - Firefox 39 does not open home page but "restore session"