[pkg-jboss-commits] cvs commit to jboss3/debian by agx

pkg-jboss-commits@lists.alioth.debian.org pkg-jboss-commits@lists.alioth.debian.org
Mon, 17 May 2004 06:20:51 -0600


Update of /cvsroot/pkg-jboss/jboss3/debian
In directory haydn:/tmp/cvs-serv29109

Modified Files:
	jboss3-server-all.postinst jboss3-server-minimal.postinst 
Log Message:
more $PKG replacements

Index: jboss3-server-all.postinst
===================================================================
RCS file: /cvsroot/pkg-jboss/jboss3/debian/jboss3-server-all.postinst,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- jboss3-server-all.postinst	17 May 2004 09:03:02 -0000	1.1
+++ jboss3-server-all.postinst	17 May 2004 12:20:49 -0000	1.2
@@ -29,7 +29,7 @@
 
       # restart jboss if this is the currently used config
       [ -r $DEFAULT ] && . $DEFAULT
-      if [ "$JBOSS_SERVER" = "$CONF" -a -x "/etc/init.d/jboss" ]; then
+      if [ "$JBOSS_SERVER" = "$CONF" -a -x "/etc/init.d/$PKG" ]; then
 	if [ -x /usr/sbin/invoke-rc.d ]; then
 		invoke-rc.d $PKG restart
 	else

Index: jboss3-server-minimal.postinst
===================================================================
RCS file: /cvsroot/pkg-jboss/jboss3/debian/jboss3-server-minimal.postinst,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- jboss3-server-minimal.postinst	17 May 2004 09:03:02 -0000	1.1
+++ jboss3-server-minimal.postinst	17 May 2004 12:20:49 -0000	1.2
@@ -29,7 +29,7 @@
 
       # restart jboss if this is the currently used config
       [ -r $DEFAULT ] && . $DEFAULT
-      if [ "$JBOSS_SERVER" = "$CONF" -a -x "/etc/init.d/jboss" ]; then
+      if [ "$JBOSS_SERVER" = "$CONF" -a -x "/etc/init.d/$PKG" ]; then
 	if [ -x /usr/sbin/invoke-rc.d ]; then
 		invoke-rc.d $PKG restart
 	else