aboutsummaryrefslogtreecommitdiff
path: root/bogosort/bogosort.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'bogosort/bogosort.SlackBuild')
-rwxr-xr-xbogosort/bogosort.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/bogosort/bogosort.SlackBuild b/bogosort/bogosort.SlackBuild
index d6d3e461..0a83934c 100755
--- a/bogosort/bogosort.SlackBuild
+++ b/bogosort/bogosort.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="bogosort"
VERSION=${VERSION:=0.4.2}