aboutsummaryrefslogtreecommitdiff
path: root/anacron
diff options
context:
space:
mode:
Diffstat (limited to 'anacron')
-rw-r--r--anacron/anacron.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/anacron/anacron.SlackBuild b/anacron/anacron.SlackBuild
index 1fc8213b..d4043f5a 100644
--- a/anacron/anacron.SlackBuild
+++ b/anacron/anacron.SlackBuild
@@ -18,14 +18,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="anacron"
ARCH=${ARCH:=i486}