summaryrefslogtreecommitdiff
path: root/network/jboss-as/jboss-as.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/jboss-as/jboss-as.SlackBuild')
-rw-r--r--network/jboss-as/jboss-as.SlackBuild38
1 files changed, 19 insertions, 19 deletions
diff --git a/network/jboss-as/jboss-as.SlackBuild b/network/jboss-as/jboss-as.SlackBuild
index c2b7e78c10..fa1d5b66a5 100644
--- a/network/jboss-as/jboss-as.SlackBuild
+++ b/network/jboss-as/jboss-as.SlackBuild
@@ -44,7 +44,7 @@ if [ "$(grep ^jboss /etc/passwd)" = "" -o "$(grep ^jboss /etc/group)" = "" ] ; t
fi
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
@@ -58,7 +58,7 @@ chown -R root:root .
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv docs/* $PKG/usr/doc/$PRGNAM-$VERSION
mv *.txt $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf docs
+rm -rf docs
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# directory server: jboss/standalone/* -> /var/lib/jboss/standalone/*
@@ -66,38 +66,38 @@ cd $PKG
mkdir -p $PKG/var/lib/$PRGNAM
mv $PKG/usr/share/$PRGNAM/standalone $PKG/var/lib/$PRGNAM
cd $PKG/usr/share/$PRGNAM
-ln -sf ../../../var/lib/$PRGNAM/standalone
+ln -sf ../../../var/lib/$PRGNAM/standalone
mv $PKG/usr/share/$PRGNAM/domain $PKG/var/lib/$PRGNAM
cd $PKG/usr/share/$PRGNAM
-ln -sf ../../../var/lib/$PRGNAM/domain
+ln -sf ../../../var/lib/$PRGNAM/domain
mkdir -p $PKG/etc/$PRGNAM/{standalone,domain}
mv $PKG/var/lib/$PRGNAM/standalone/configuration $PKG/etc/$PRGNAM/standalone/
mv $PKG/var/lib/$PRGNAM/domain/configuration $PKG/etc/$PRGNAM/domain/
cd $PKG/var/lib/$PRGNAM/standalone
-ln -sf ../../../../etc/$PRGNAM/standalone/configuration configuration
+ln -sf ../../../../etc/$PRGNAM/standalone/configuration configuration
cd $PKG/var/lib/$PRGNAM/domain
-ln -sf ../../../../etc/$PRGNAM/domain/configuration configuration
+ln -sf ../../../../etc/$PRGNAM/domain/configuration configuration
mkdir -p $PKG/var/{log,tmp}/$PRGNAM/standalone
cd $PKG/var/lib/$PRGNAM/standalone
-ln -sf ../../../log/$PRGNAM/standalone log
-ln -sf ../../../tmp/$PRGNAM/standalone tmp
+ln -sf ../../../log/$PRGNAM/standalone log
+ln -sf ../../../tmp/$PRGNAM/standalone tmp
mv $PKG/usr/share/$PRGNAM/bin/standalone.conf $PKG/etc/$PRGNAM/standalone/
mv $PKG/usr/share/$PRGNAM/bin/domain.conf $PKG/etc/$PRGNAM/domain/
cd $PKG/usr/share/$PRGNAM/bin
-ln -sf ../../../../etc/$PRGNAM/standalone/standalone.conf
-ln -sf ../../../../etc/$PRGNAM/domain/domain.conf
+ln -sf ../../../../etc/$PRGNAM/standalone/standalone.conf
+ln -sf ../../../../etc/$PRGNAM/domain/domain.conf
# the xml history need some special treatment
mkdir -p $PKG/var/lib/$PRGNAM/standalone/standalone_xml_history
mkdir -p $PKG/var/lib/$PRGNAM/domain/domain_xml_history
mkdir -p $PKG/var/lib/$PRGNAM/domain/host_xml_history
cd $PKG/etc/$PRGNAM/standalone/configuration
-ln -sf ../../../../var/lib/$PRGNAM/standalone/standalone_xml_history
+ln -sf ../../../../var/lib/$PRGNAM/standalone/standalone_xml_history
cd $PKG/etc/$PRGNAM/domain/configuration
-ln -sf ../../../../var/lib/$PRGNAM/domain/domain_xml_history
-ln -sf ../../../../var/lib/$PRGNAM/domain/host_xml_history
-
+ln -sf ../../../../var/lib/$PRGNAM/domain/domain_xml_history
+ln -sf ../../../../var/lib/$PRGNAM/domain/host_xml_history
+
# Add /etc/rc.d/rc.jboss.new
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
@@ -120,11 +120,11 @@ chmod 0755 $PKG/usr/share/$PRGNAM/bin/*.sh
mkdir -p $PKG/usr/bin
cd $PKG/usr/bin
-ln -sf ../share/$PRGNAM/bin/domain.sh
-ln -sf ../share/$PRGNAM/bin/standalone.sh
-ln -sf ../share/$PRGNAM/bin/jboss-admin.sh
-ln -sf ../share/$PRGNAM/bin/wsprovide.sh
-ln -sf ../share/$PRGNAM/bin/wsconsume.sh
+ln -sf ../share/$PRGNAM/bin/domain.sh
+ln -sf ../share/$PRGNAM/bin/standalone.sh
+ln -sf ../share/$PRGNAM/bin/jboss-admin.sh
+ln -sf ../share/$PRGNAM/bin/wsprovide.sh
+ln -sf ../share/$PRGNAM/bin/wsconsume.sh
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc