aboutsummaryrefslogtreecommitdiff
path: root/patches/php/php-pgsql.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'patches/php/php-pgsql.SlackBuild')
-rwxr-xr-xpatches/php/php-pgsql.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/php/php-pgsql.SlackBuild b/patches/php/php-pgsql.SlackBuild
index 04dfeb23..fdbaef10 100755
--- a/patches/php/php-pgsql.SlackBuild
+++ b/patches/php/php-pgsql.SlackBuild
@@ -22,14 +22,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"
PACKAGE_NAME="php-pgsql" # this is beacuse we're build with pgsql support
VERSION=${VERSION:=4.4.4}