aboutsummaryrefslogtreecommitdiff
path: root/patches/php/php.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'patches/php/php.SlackBuild')
-rwxr-xr-xpatches/php/php.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/php/php.SlackBuild b/patches/php/php.SlackBuild
index 816f25d2..ed96c4ab 100755
--- a/patches/php/php.SlackBuild
+++ b/patches/php/php.SlackBuild
@@ -21,14 +21,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
-
PACKAGE="php"
VERSION=${VERSION:=4.4.4}
PINE=${PINE:=4.64}