aboutsummaryrefslogtreecommitdiff
path: root/postgrey/postgrey.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'postgrey/postgrey.SlackBuild')
-rwxr-xr-xpostgrey/postgrey.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/postgrey/postgrey.SlackBuild b/postgrey/postgrey.SlackBuild
index 8bece798..5d8e46ec 100755
--- a/postgrey/postgrey.SlackBuild
+++ b/postgrey/postgrey.SlackBuild
@@ -9,14 +9,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="postgrey"
VERSION=${VERSION:=1.27}