[pkg-jboss-commits] cvs commit to jboss3/debian by agx
pkg-jboss-commits@lists.alioth.debian.org
pkg-jboss-commits@lists.alioth.debian.org
Wed, 28 Jul 2004 06:00:51 -0600
Update of /cvsroot/pkg-jboss/jboss3/debian
In directory haydn:/tmp/cvs-serv4212
Modified Files:
create-server-config
Log Message:
create symlink in /etc
Index: create-server-config
===================================================================
RCS file: /cvsroot/pkg-jboss/jboss3/debian/create-server-config,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- create-server-config 7 Jul 2004 13:28:24 -0000 1.1
+++ create-server-config 28 Jul 2004 12:00:49 -0000 1.2
@@ -20,6 +20,8 @@
VAR=${DESTDIR}/${VAR_REAL}
LOG_REAL=/var/log/${PKG}
LOG=${DESTDIR}/${LOG_REAL}
+CONF_REAL=/etc/jboss3/
+CONF=${DESTDIR}/${CONF_REAL}
# Make sure JBOSS_USER is sane, even when unset in /etc/default/${PKG}
JBOSS_USER=${JBOSS_USER:-jboss}
@@ -45,6 +47,8 @@
VAR_REAL_DIR=$VAR_REAL/$NEW
LOG_DIR=$LOG/$NEW
LOG_REAL_DIR=$LOG_REAL/$NEW
+ CONF_DIR=$CONF/$NEW
+ CONF_REAL_DIR=$CONF_REAL/$NEW
fi
if [ -d $TARGET/$NEW ]; then
@@ -92,6 +96,8 @@
echo -n "Copying conf/ to $TARGET_DIR"
mkdir $TARGET_DIR/conf/
cp -r $BASE_DIR/conf/* $TARGET_DIR/conf/
+mkdir -p ${DESTDIR}/etc/${PKG}
+ln -s $TARGET_REAL_DIR/conf $CONF_DIR
# Still needs special handling, buah.
if [ -L $TARGET_DIR/conf/jboss.web ]; then
mkdir -p $VAR_DIR/jboss.web