[med-svn] r6464 - trunk/packages/gbrowse/trunk/debian

Charles Plessy plessy at alioth.debian.org
Wed Apr 6 00:53:07 UTC 2011


Author: plessy
Date: 2011-04-06 00:52:56 +0000 (Wed, 06 Apr 2011)
New Revision: 6464

Modified:
   trunk/packages/gbrowse/trunk/debian/postinst
Log:
Suppress one non-essential message.

Maintainer scripts should be as quiet as possible (Policy 3.9.1 ?\194?\1673.9).


Modified: trunk/packages/gbrowse/trunk/debian/postinst
===================================================================
--- trunk/packages/gbrowse/trunk/debian/postinst	2011-04-05 13:54:26 UTC (rev 6463)
+++ trunk/packages/gbrowse/trunk/debian/postinst	2011-04-06 00:52:56 UTC (rev 6464)
@@ -7,12 +7,9 @@
 
 case "$1" in
     configure)
-if [ -e /var/cache/gbrowse ]
-then
- echo "Dir already present, skip it"
-else
-mkdir -p /var/cache/gbrowse
-fi
+    if [ ! -d /var/cache/gbrowse ] ; then
+        mkdir -p /var/cache/gbrowse
+    fi
 
 chown -R root:www-data /usr/share/gbrowse/databases
 chmod -R 770 /usr/share/gbrowse/databases




More information about the debian-med-commit mailing list