aboutsummaryrefslogtreecommitdiff
path: root/rssh/rssh-chroot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'rssh/rssh-chroot.SlackBuild')
-rwxr-xr-xrssh/rssh-chroot.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/rssh/rssh-chroot.SlackBuild b/rssh/rssh-chroot.SlackBuild
index 0c92d9dd..9853bdb4 100755
--- a/rssh/rssh-chroot.SlackBuild
+++ b/rssh/rssh-chroot.SlackBuild
@@ -21,14 +21,12 @@ else
sleep 3
fi
-if [ -f "/etc/slackbuildrc" ]; then
+if [ -f ~/.slackbuildrc ]; then
+ source ~/.slackbuildrc
+elif [ -f /etc/slackbuildrc ]; then
source /etc/slackbuildrc
fi
-if [ -f "/root/.slackbuildrc" ]; then
- source /root/.slackbuildrc
-fi
-
# default settings
PRGNAM="rssh-chroot"
PACKAGE="$PRGNAM"