Fixed firefox.sh - do not override TMPDIR if set by user

This commit is contained in:
Jan Horak 2013-05-23 10:36:23 +02:00
parent 013fcd5c02
commit 5cb41cd22b
2 changed files with 6 additions and 3 deletions

View File

@ -144,11 +144,11 @@ GNOME_DISABLE_CRASH_DIALOG=1
export GNOME_DISABLE_CRASH_DIALOG export GNOME_DISABLE_CRASH_DIALOG
## ##
## Use $MOZ_TMPDIR if set. Otherwise use /var/tmp instead of /tmp ## Use $TMPDIR if set. Otherwise use /var/tmp instead of /tmp
## because of 1GB /tmp limit in Fedora 18 and later. ## because of 1GB /tmp limit in Fedora 18 and later.
## See: https://bugzilla.redhat.com/show_bug.cgi?id=867073 ## See: https://bugzilla.redhat.com/show_bug.cgi?id=867073
## ##
TMPDIR="${MOZ_TMPDIR:-/var/tmp}" TMPDIR="${TMPDIR:-/var/tmp}"
export TMPDIR export TMPDIR
# OK, here's where all the real work gets done # OK, here's where all the real work gets done

View File

@ -55,7 +55,7 @@
Summary: Mozilla Firefox Web browser Summary: Mozilla Firefox Web browser
Name: firefox Name: firefox
Version: 21.0 Version: 21.0
Release: 3%{?pre_tag}%{?dist} Release: 4%{?pre_tag}%{?dist}
URL: http://www.mozilla.org/projects/firefox/ URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet Group: Applications/Internet
@ -442,6 +442,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%changelog %changelog
* Thu May 23 2013 Jan Horak <jhorak@redhat.com> - 21.0-4
- Do not override user defined TMPDIR variable
* Thu May 16 2013 Martin Stransky <stransky@redhat.com> - 21.0-3 * Thu May 16 2013 Martin Stransky <stransky@redhat.com> - 21.0-3
- Fixed extension compatibility dialog (rhbz#963422) - Fixed extension compatibility dialog (rhbz#963422)