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