aboutsummaryrefslogtreecommitdiff
path: root/patches/mozilla-firefox
diff options
context:
space:
mode:
Diffstat (limited to 'patches/mozilla-firefox')
-rwxr-xr-xpatches/mozilla-firefox/mozilla-firefox.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/mozilla-firefox/mozilla-firefox.SlackBuild b/patches/mozilla-firefox/mozilla-firefox.SlackBuild
index df39e52c..aa1fcd59 100755
--- a/patches/mozilla-firefox/mozilla-firefox.SlackBuild
+++ b/patches/mozilla-firefox/mozilla-firefox.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="firefox"
VERSION=${VERSION:=1.5.0.7}