aboutsummaryrefslogtreecommitdiff
path: root/downtube/downtube.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'downtube/downtube.SlackBuild')
-rwxr-xr-xdowntube/downtube.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/downtube/downtube.SlackBuild b/downtube/downtube.SlackBuild
index 971706cf..bd9eb96f 100755
--- a/downtube/downtube.SlackBuild
+++ b/downtube/downtube.SlackBuild
@@ -5,14 +5,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="downtube"
VERSION=${VERSION:=1.2}