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