[med-svn] r9489 - trunk/packages/gmod/chado/trunk/debian

Andreas Tille tille at alioth.debian.org
Sat Jan 28 23:26:04 UTC 2012


Author: tille
Date: 2012-01-28 23:26:03 +0000 (Sat, 28 Jan 2012)
New Revision: 9489

Modified:
   trunk/packages/gmod/chado/trunk/debian/postinst
Log:
We need a temporary *directory*


Modified: trunk/packages/gmod/chado/trunk/debian/postinst
===================================================================
--- trunk/packages/gmod/chado/trunk/debian/postinst	2012-01-28 23:11:48 UTC (rev 9488)
+++ trunk/packages/gmod/chado/trunk/debian/postinst	2012-01-28 23:26:03 UTC (rev 9489)
@@ -43,7 +43,7 @@
           . /etc/gmod/gmod-chado.conf
 	  cd /usr/share/gmod/chado
 	  export CHADO_DB_NAME=gmod-chado
-	  CHADOTMP=`mktemp`
+	  CHADOTMP=`mktemp -d`
 	  perl Makefile.PL update GMOD_ROOT=/usr/share/gmod/chado DBNAME=$CHADO_DB_NAME  DBUSER=$DBUSER DBPASS=$DBPASS DBHOST=$DBHOST DBPORT=$DBPORT DBDRIVER=PostgreSQL  SIMPLE=Y RECONFIGURE=1 LOCAL_TMP=$CHADOTMP &> /dev/null
 	  rm -rf $CHADOTMP
 	  export PATH=$PATH:/usr/share/gmod/chado/bin




More information about the debian-med-commit mailing list