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