mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
network/mod_chroot: Fixed (Use correct file in config func)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
2f5106b8e7
commit
d237ca59c5
2 changed files with 3 additions and 5 deletions
|
@ -22,5 +22,5 @@ preserve_perms() {
|
||||||
config $NEW
|
config $NEW
|
||||||
}
|
}
|
||||||
|
|
||||||
preserve_perms etc/httpd/extra/mod_evasive.conf.new
|
preserve_perms etc/httpd/extra/mod_chroot.conf.new
|
||||||
|
|
||||||
|
|
|
@ -9,15 +9,13 @@
|
||||||
|
|
||||||
PRGNAM=mod_chroot
|
PRGNAM=mod_chroot
|
||||||
VERSION=${VERSION:-0.5}
|
VERSION=${VERSION:-0.5}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-3}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -41,7 +39,7 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e # Exit on most errors
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
|
Loading…
Reference in a new issue