aboutsummaryrefslogtreecommitdiff
path: root/openldap
diff options
context:
space:
mode:
Diffstat (limited to 'openldap')
-rwxr-xr-xopenldap/openldap-client.SlackBuild8
-rwxr-xr-xopenldap/openldap.SlackBuild8
2 files changed, 6 insertions, 10 deletions
diff --git a/openldap/openldap-client.SlackBuild b/openldap/openldap-client.SlackBuild
index 6eb2c783..b2e49184 100755
--- a/openldap/openldap-client.SlackBuild
+++ b/openldap/openldap-client.SlackBuild
@@ -5,14 +5,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="openldap-client"
ARCH=${ARCH:=i486}
diff --git a/openldap/openldap.SlackBuild b/openldap/openldap.SlackBuild
index 581fe4aa..1cb6ee6c 100755
--- a/openldap/openldap.SlackBuild
+++ b/openldap/openldap.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="openldap"
ARCH=${ARCH:=i486}