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

pkg-jboss-commits@lists.alioth.debian.org pkg-jboss-commits@lists.alioth.debian.org
Tue, 22 Jun 2004 06:52:23 -0600


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

Modified Files:
	jboss3-server-all.postinst jboss3-server-debian.postinst 
	jboss3-server-default.postinst jboss3-server-minimal.postinst 
Log Message:
dont make config dir itself writeable, avoid fork

Index: jboss3-server-all.postinst
===================================================================
RCS file: /cvsroot/pkg-jboss/jboss3/debian/jboss3-server-all.postinst,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- jboss3-server-all.postinst	17 May 2004 12:20:49 -0000	1.2
+++ jboss3-server-all.postinst	22 Jun 2004 12:52:21 -0000	1.3
@@ -25,7 +25,7 @@
     configure)
       chown -R jboss:adm /var/log/$PKG/$CONF
       chown -R jboss:root /var/cache/$PKG/$CONF
-      find /etc/$PKG/$CONF -type d | xargs chown jboss:root
+      find /etc/$PKG/$CONF/* -type d -exec chown jboss:root {} \;
 
       # restart jboss if this is the currently used config
       [ -r $DEFAULT ] && . $DEFAULT

Index: jboss3-server-debian.postinst
===================================================================
RCS file: /cvsroot/pkg-jboss/jboss3/debian/jboss3-server-debian.postinst,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- jboss3-server-debian.postinst	24 May 2004 15:19:19 -0000	1.1
+++ jboss3-server-debian.postinst	22 Jun 2004 12:52:21 -0000	1.2
@@ -25,7 +25,7 @@
     configure)
       chown -R jboss:adm /var/log/$PKG/$CONF
       chown -R jboss:root /var/cache/$PKG/$CONF
-      find /etc/$PKG/$CONF -type d | xargs chown jboss:root
+      find /etc/$PKG/$CONF/* -type d -exec chown jboss:root {} \;
 
       # restart jboss if this is the currently used config
       [ -r $DEFAULT ] && . $DEFAULT

Index: jboss3-server-default.postinst
===================================================================
RCS file: /cvsroot/pkg-jboss/jboss3/debian/jboss3-server-default.postinst,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- jboss3-server-default.postinst	17 May 2004 09:03:02 -0000	1.1
+++ jboss3-server-default.postinst	22 Jun 2004 12:52:21 -0000	1.2
@@ -25,7 +25,7 @@
     configure)
       chown -R jboss:adm /var/log/$PKG/$CONF
       chown -R jboss:root /var/cache/$PKG/$CONF
-      find /etc/$PKG/$CONF -type d | xargs chown jboss:root
+      find /etc/$PKG/$CONF/* -type d -exec chown jboss:root {} \;
 
       # restart jboss if this is the currently used config
       [ -r $DEFAULT ] && . $DEFAULT

Index: jboss3-server-minimal.postinst
===================================================================
RCS file: /cvsroot/pkg-jboss/jboss3/debian/jboss3-server-minimal.postinst,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- jboss3-server-minimal.postinst	17 May 2004 12:20:49 -0000	1.2
+++ jboss3-server-minimal.postinst	22 Jun 2004 12:52:21 -0000	1.3
@@ -25,7 +25,7 @@
     configure)
       chown -R jboss:adm /var/log/$PKG/$CONF
       chown -R jboss:root /var/cache/$PKG/$CONF
-      find /etc/$PKG/$CONF -type d | xargs chown jboss:root
+      find /etc/$PKG/$CONF/* -type d -exec chown jboss:root {} \;
 
       # restart jboss if this is the currently used config
       [ -r $DEFAULT ] && . $DEFAULT