summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@anakreon.cz>2011-01-06 10:36:09 +0100
committerMartin Stransky <stransky@anakreon.cz>2011-01-06 10:36:09 +0100
commit1c699fa97d42b453c0246489491c12d5d0572924 (patch)
tree6c32b9d2b881df3127f3a911810769f40a5e1234
parentFixed rhbz#667477 - broken launch script (diff)
downloadlibrewolf-fedora-ff-1c699fa97d42b453c0246489491c12d5d0572924.tar.gz
librewolf-fedora-ff-1c699fa97d42b453c0246489491c12d5d0572924.tar.bz2
librewolf-fedora-ff-1c699fa97d42b453c0246489491c12d5d0572924.zip
application.ini permission check fix
-rw-r--r--firefox.sh.in4
-rw-r--r--firefox.spec5
2 files changed, 6 insertions, 3 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index cb6373b..6b339e7 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -50,8 +50,8 @@ esac
MOZ_FIREFOX_FILE="application.ini"
-if [ ! -x $MOZ_LIB_DIR/firefox-FIREFOX_VERSION/$MOZ_FIREFOX_FILE ]; then
- if [ ! -x $SECONDARY_LIB_DIR/firefox-FIREFOX_VERSION/$MOZ_FIREFOX_FILE ]; then
+if [ ! -r $MOZ_LIB_DIR/firefox-FIREFOX_VERSION/$MOZ_FIREFOX_FILE ]; then
+ if [ ! -r $SECONDARY_LIB_DIR/firefox-FIREFOX_VERSION/$MOZ_FIREFOX_FILE ]; then
echo "Error: $MOZ_LIB_DIR/firefox-FIREFOX_VERSION/$MOZ_FIREFOX_FILE not found"
if [ -d $SECONDARY_LIB_DIR ]; then
echo " $SECONDARY_LIB_DIR/firefox-FIREFOX_VERSION/$MOZ_FIREFOX_FILE not found"
diff --git a/firefox.spec b/firefox.spec
index 0171096..2aa0fd1 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -26,7 +26,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 4.0
-Release: 0.9%{?prever}%{?dist}
+Release: 0.10%{?prever}%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -386,6 +386,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Tue Jan 6 2011 Martin Stransky <stransky@redhat.com> - 4.0-0.10b8
+- application.ini permission check fix
+
* Tue Jan 6 2011 Martin Stransky <stransky@redhat.com> - 4.0-0.9b8
- Fixed rhbz#667477 - broken launch script
bgstack15