aboutsummaryrefslogtreecommitdiff
path: root/hashalot
diff options
context:
space:
mode:
Diffstat (limited to 'hashalot')
-rwxr-xr-xhashalot/hashalot.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/hashalot/hashalot.SlackBuild b/hashalot/hashalot.SlackBuild
index e9e7b64d..eb0c4cda 100755
--- a/hashalot/hashalot.SlackBuild
+++ b/hashalot/hashalot.SlackBuild
@@ -6,14 +6,12 @@
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="hashalot"
ARCH=${ARCH:=i486}