[debian-edu-commits] r80094 - trunk/src/firefox-tuning

pere at alioth.debian.org pere at alioth.debian.org
Fri May 17 06:22:28 UTC 2013


Author: pere
Date: 2013-05-17 06:22:28 +0000 (Fri, 17 May 2013)
New Revision: 80094

Modified:
   trunk/src/firefox-tuning/iceweasel.sh
Log:
Use simpler shell code.

Modified: trunk/src/firefox-tuning/iceweasel.sh
===================================================================
--- trunk/src/firefox-tuning/iceweasel.sh	2013-05-17 06:19:40 UTC (rev 80093)
+++ trunk/src/firefox-tuning/iceweasel.sh	2013-05-17 06:22:28 UTC (rev 80094)
@@ -8,9 +8,7 @@
 # License: GPL V2
 
 # Work with libpam-tmpdir and those overriding /tmp as $TMPDIR
-if [ -z "$TMPDIR" ] ; then
-    TMPDIR=/tmp
-fi
+TMPDIR="${TMPDIR:-/tmp}"
 
 [ -n "$USER" ] || USER="`id -un`"
 TMPHOME="$TMPDIR/$USER"




More information about the debian-edu-commits mailing list