aboutsummaryrefslogtreecommitdiff
path: root/soundtouch/soundtouch.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'soundtouch/soundtouch.SlackBuild')
-rwxr-xr-xsoundtouch/soundtouch.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/soundtouch/soundtouch.SlackBuild b/soundtouch/soundtouch.SlackBuild
index 7c22fe31..591894c4 100755
--- a/soundtouch/soundtouch.SlackBuild
+++ b/soundtouch/soundtouch.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="soundtouch"
ARCH=${ARCH:=i486}