aboutsummaryrefslogtreecommitdiff
path: root/patches/fetchmail
diff options
context:
space:
mode:
Diffstat (limited to 'patches/fetchmail')
-rwxr-xr-xpatches/fetchmail/fetchmail.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/fetchmail/fetchmail.SlackBuild b/patches/fetchmail/fetchmail.SlackBuild
index 55f415ce..37d31d67 100755
--- a/patches/fetchmail/fetchmail.SlackBuild
+++ b/patches/fetchmail/fetchmail.SlackBuild
@@ -8,14 +8,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
-
PACKAGE="fetchmail"
VERSION=${VERSION:=6.3.4}
ARCH=${ARCH:=i486}