aboutsummaryrefslogtreecommitdiff
path: root/app/shells/rssh-chroot/rssh-chroot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'app/shells/rssh-chroot/rssh-chroot.SlackBuild')
-rwxr-xr-xapp/shells/rssh-chroot/rssh-chroot.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/shells/rssh-chroot/rssh-chroot.SlackBuild b/app/shells/rssh-chroot/rssh-chroot.SlackBuild
index e61aa3f4..ea67425d 100755
--- a/app/shells/rssh-chroot/rssh-chroot.SlackBuild
+++ b/app/shells/rssh-chroot/rssh-chroot.SlackBuild
@@ -36,7 +36,7 @@ PRGNAM="rssh-chroot"
PACKAGE="$PRGNAM"
ARCH=${ARCH:=i486}
VERSION=${VERSION:=2.3.2}
-BUILD=${BUILD:=2rha}
+BUILD=${BUILD:=3rha}
SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
REPOS=${REPOS:=$TMP}
@@ -96,10 +96,9 @@ for app in $APPS; do
done
# dont work inside vservers:
-# mknod ./$CHROOT_BASE/dev/null c 1 3
-
-cp /dev/null ./$CHROOT_BASE/dev/null
-chmod 666 ./$CHROOT_BASE/dev/null
+echo "trying to create /dev/null inside this jail..."
+echo "may not work if you're creating this package inside a vserver"
+mknod -m 666 ./$CHROOT_BASE/dev/null c 1 3 || exit $ERROR_INSTALL
mkdir -p usr/doc/$PACKAGE-$VERSION
cp $CWD/COPYING* usr/doc/$PACKAGE-$VERSION/