[pkg-java] r3995 - trunk/solr/debian

janpascal-guest at alioth.debian.org janpascal-guest at alioth.debian.org
Mon Aug 6 09:33:25 UTC 2007


Author: janpascal-guest
Date: 2007-08-06 09:33:25 +0000 (Mon, 06 Aug 2007)
New Revision: 3995

Modified:
   trunk/solr/debian/get-orig-source
   trunk/solr/debian/solr-common.postinst
   trunk/solr/debian/solr-common.postrm
   trunk/solr/debian/solr-jetty.postinst
   trunk/solr/debian/solr-jetty.postrm
   trunk/solr/debian/solr-tomcat5.5.postinst
   trunk/solr/debian/solr-tomcat5.5.postrm
Log:
Removed bashisms from shell scripts and used /bin/sh

Modified: trunk/solr/debian/get-orig-source
===================================================================
--- trunk/solr/debian/get-orig-source	2007-08-06 09:32:30 UTC (rev 3994)
+++ trunk/solr/debian/get-orig-source	2007-08-06 09:33:25 UTC (rev 3995)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 DEHS=` uscan --no-download --dehs`
 
@@ -13,7 +13,6 @@
 KEYRING="debian/solr-keyring.gpg"
 
 # Download source tarball and signature file
-#wget --limit-rate=20k "$URL" -O $SOURCEFILE
 wget "$URL" -O $SOURCEFILE
 wget "$URL.asc" -O $SIGFILE
 

Modified: trunk/solr/debian/solr-common.postinst
===================================================================
--- trunk/solr/debian/solr-common.postinst	2007-08-06 09:32:30 UTC (rev 3994)
+++ trunk/solr/debian/solr-common.postinst	2007-08-06 09:33:25 UTC (rev 3995)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 set -e
 . /usr/share/debconf/confmodule

Modified: trunk/solr/debian/solr-common.postrm
===================================================================
--- trunk/solr/debian/solr-common.postrm	2007-08-06 09:32:30 UTC (rev 3994)
+++ trunk/solr/debian/solr-common.postrm	2007-08-06 09:33:25 UTC (rev 3995)
@@ -1,14 +1,14 @@
-#!/bin/bash
+#!/bin/sh
 
 set -e
 
-if [ "$1" == "purge"  ]; then
+if [ "$1" = "purge"  ]; then
     if [ -e /usr/share/debconf/confmodule ]; then
 	. /usr/share/debconf/confmodule
 	db_input high solr/purgeindexfiles || true
 	db_go || true
 	db_get solr/purgeindexfiles || true
-	if [ "$RET" == "true" ]; then
+	if [ "$RET" = "true" ]; then
 	    rm -rf /var/lib/solr
 	fi
     else

Modified: trunk/solr/debian/solr-jetty.postinst
===================================================================
--- trunk/solr/debian/solr-jetty.postinst	2007-08-06 09:32:30 UTC (rev 3994)
+++ trunk/solr/debian/solr-jetty.postinst	2007-08-06 09:33:25 UTC (rev 3995)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 set -e
 # Not needed

Modified: trunk/solr/debian/solr-jetty.postrm
===================================================================
--- trunk/solr/debian/solr-jetty.postrm	2007-08-06 09:32:30 UTC (rev 3994)
+++ trunk/solr/debian/solr-jetty.postrm	2007-08-06 09:33:25 UTC (rev 3995)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 set -e
 

Modified: trunk/solr/debian/solr-tomcat5.5.postinst
===================================================================
--- trunk/solr/debian/solr-tomcat5.5.postinst	2007-08-06 09:32:30 UTC (rev 3994)
+++ trunk/solr/debian/solr-tomcat5.5.postinst	2007-08-06 09:33:25 UTC (rev 3995)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 set -e
 # Not needed

Modified: trunk/solr/debian/solr-tomcat5.5.postrm
===================================================================
--- trunk/solr/debian/solr-tomcat5.5.postrm	2007-08-06 09:32:30 UTC (rev 3994)
+++ trunk/solr/debian/solr-tomcat5.5.postrm	2007-08-06 09:33:25 UTC (rev 3995)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 set -e
 




More information about the pkg-java-commits mailing list