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