[debian-edu-commits] r80064 - in trunk/src/firefox-tuning: . debian

pere at alioth.debian.org pere at alioth.debian.org
Thu May 16 07:36:27 UTC 2013


Author: pere
Date: 2013-05-16 07:36:27 +0000 (Thu, 16 May 2013)
New Revision: 80064

Modified:
   trunk/src/firefox-tuning/debian/changelog
   trunk/src/firefox-tuning/iceweasel.sh
Log:
Avoid hardcoding /tmp in iceweasel shell script wrapper to work with
libpam-tmpdir.

Modified: trunk/src/firefox-tuning/debian/changelog
===================================================================
--- trunk/src/firefox-tuning/debian/changelog	2013-05-16 07:22:43 UTC (rev 80063)
+++ trunk/src/firefox-tuning/debian/changelog	2013-05-16 07:36:27 UTC (rev 80064)
@@ -1,3 +1,11 @@
+firefox-tuning (1.1-2) UNRELEASED; urgency=low
+
+  [ Petter Reinholdtsen ]
+  * Avoid hardcoding /tmp in iceweasel shell script wrapper to work with
+    libpam-tmpdir.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Thu, 16 May 2013 09:35:40 +0200
+
 firefox-tuning (1.1-1) unstable; urgency=low
 
   * Use --delete in order to reflect deleted plugins etc.

Modified: trunk/src/firefox-tuning/iceweasel.sh
===================================================================
--- trunk/src/firefox-tuning/iceweasel.sh	2013-05-16 07:22:43 UTC (rev 80063)
+++ trunk/src/firefox-tuning/iceweasel.sh	2013-05-16 07:36:27 UTC (rev 80064)
@@ -4,8 +4,13 @@
 # (C) by Klaus Knopper 27 Oct 2009
 # License: GPL V2
 
+# Work with libpam-tmpdir and those overriding /tmp as $TMPDIR
+if [ -z "$TMPDIR" ] ; then
+    TMPDIR=/tmp
+fi
+
 [ -n "$USER" ] || USER="`id -un`"
-TMPHOME="/tmp/$USER"
+TMPHOME="$TMPDIR/$USER"
 
 # To distinguish between workstation and TS client, do this:
 # if [ "$DISPLAY" = ":0" ]; then




More information about the debian-edu-commits mailing list