aboutsummaryrefslogtreecommitdiff
path: root/util-vserver/util-vserver.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'util-vserver/util-vserver.SlackBuild')
-rwxr-xr-xutil-vserver/util-vserver.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/util-vserver/util-vserver.SlackBuild b/util-vserver/util-vserver.SlackBuild
index 78fa1f5c..8aefcbe4 100755
--- a/util-vserver/util-vserver.SlackBuild
+++ b/util-vserver/util-vserver.SlackBuild
@@ -24,14 +24,12 @@ fi
CWD="`pwd`"
-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
PACKAGE="util-vserver"
ARCH=${ARCH:=i486}