aboutsummaryrefslogtreecommitdiff
path: root/network/mod_chroot
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-30 11:09:26 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:08 -0500
commitd237ca59c58f10f656cd5c8c9695419f4cce5883 (patch)
treec4c7835d762f4e74527099bb4f8001c48d4acfd2 /network/mod_chroot
parent2f5106b8e7195830db5597255fb0139d404568ff (diff)
network/mod_chroot: Fixed (Use correct file in config func)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/mod_chroot')
-rw-r--r--network/mod_chroot/doinst.sh2
-rw-r--r--network/mod_chroot/mod_chroot.SlackBuild6
2 files changed, 3 insertions, 5 deletions
diff --git a/network/mod_chroot/doinst.sh b/network/mod_chroot/doinst.sh
index 3183a8b24c372..b9517b51931ac 100644
--- a/network/mod_chroot/doinst.sh
+++ b/network/mod_chroot/doinst.sh
@@ -22,5 +22,5 @@ preserve_perms() {
config $NEW
}
-preserve_perms etc/httpd/extra/mod_evasive.conf.new
+preserve_perms etc/httpd/extra/mod_chroot.conf.new
diff --git a/network/mod_chroot/mod_chroot.SlackBuild b/network/mod_chroot/mod_chroot.SlackBuild
index 5e821adcc22a6..8dcb70914eb8f 100644
--- a/network/mod_chroot/mod_chroot.SlackBuild
+++ b/network/mod_chroot/mod_chroot.SlackBuild
@@ -9,15 +9,13 @@
PRGNAM=mod_chroot
VERSION=${VERSION:-0.5}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -41,7 +39,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT