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