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