[csw-devel] SF.net SVN: gar:[4944] csw/mgar/pkg/php4/trunk
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Mon May 18 23:39:26 CEST 2009
Revision: 4944
http://gar.svn.sourceforge.net/gar/?rev=4944&view=rev
Author: valholla
Date: 2009-05-18 21:39:26 +0000 (Mon, 18 May 2009)
Log Message:
-----------
post install fix
Modified Paths:
--------------
csw/mgar/pkg/php4/trunk/checksums
csw/mgar/pkg/php4/trunk/files/CSWphp4cgi.postinstall
Modified: csw/mgar/pkg/php4/trunk/checksums
===================================================================
--- csw/mgar/pkg/php4/trunk/checksums 2009-05-18 20:52:40 UTC (rev 4943)
+++ csw/mgar/pkg/php4/trunk/checksums 2009-05-18 21:39:26 UTC (rev 4944)
@@ -10,7 +10,7 @@
ed0922061d8b95e2f8cc6604381cc57f download/CSWphp4bz2.preremove
82b8586235f637d239c07eb3bead372e download/CSWphp4calendar.postinstall
0bbeea841afc4d2ea98b641b9f09624a download/CSWphp4calendar.preremove
-6fac0b1ac9c5b3ff834345744c658ce6 download/CSWphp4cgi.postinstall
+204ac17a0518b74d2f6fed014b4abdf4 download/CSWphp4cgi.postinstall
97d253d03e6aee4df218c0b94f44a175 download/CSWphp4cgi.space
84aa3d42197c8fb1c6eb000c8684e904 download/CSWphp4curl.postinstall
99f1ea3f414aa4e63e94d9e34069ac7d download/CSWphp4curl.preremove
Modified: csw/mgar/pkg/php4/trunk/files/CSWphp4cgi.postinstall
===================================================================
--- csw/mgar/pkg/php4/trunk/files/CSWphp4cgi.postinstall 2009-05-18 20:52:40 UTC (rev 4943)
+++ csw/mgar/pkg/php4/trunk/files/CSWphp4cgi.postinstall 2009-05-18 21:39:26 UTC (rev 4944)
@@ -11,8 +11,7 @@
else
echo "php.ini already exists"
- extdir_ext=`${PHP_BIN}/php -i |grep 'PHP Extension' |awk '{print $NF}'`
- extdir="${PHP_LIB}/php/extensions/no-debug-non-zts-${extdir_ext}"
+ extdir=`${PHP_BIN}/php-config --extension-dir`
curextdir=`perl -lne '/(no-debug-non-zts-[0-9]+)/ && print $1' $PHP_INI`
if [ "$extdir" != "$curextdir" ]; then
@@ -33,7 +32,7 @@
if [ ! -d "${extdir}" ]; then
mkdir -p ${extdir}
- for dir in `${PHP_BIN}/php -i |grep extension_dir |\
+ for dir in `${PHP_BIN}/php-config --extension_dir |\
awk -F'/' '{print $(NF-1), $NF}'`; do
chown -R root:bin ${dir}
chmod -R 0755 ${dir}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list