[csw-devel] SF.net SVN: gar:[4946] csw/mgar/pkg/php4/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Tue May 19 00:28:26 CEST 2009


Revision: 4946
          http://gar.svn.sourceforge.net/gar/?rev=4946&view=rev
Author:   valholla
Date:     2009-05-18 22:28:25 +0000 (Mon, 18 May 2009)

Log Message:
-----------
postinstall 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 21:49:05 UTC (rev 4945)
+++ csw/mgar/pkg/php4/trunk/checksums	2009-05-18 22:28:25 UTC (rev 4946)
@@ -10,7 +10,7 @@
 ed0922061d8b95e2f8cc6604381cc57f  download/CSWphp4bz2.preremove
 82b8586235f637d239c07eb3bead372e  download/CSWphp4calendar.postinstall
 0bbeea841afc4d2ea98b641b9f09624a  download/CSWphp4calendar.preremove
-204ac17a0518b74d2f6fed014b4abdf4  download/CSWphp4cgi.postinstall
+68f680b24100f2a7a4e1d3fdafd1c3ba  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 21:49:05 UTC (rev 4945)
+++ csw/mgar/pkg/php4/trunk/files/CSWphp4cgi.postinstall	2009-05-18 22:28:25 UTC (rev 4946)
@@ -32,11 +32,12 @@
 
 if [ ! -d "${extdir}" ]; then
     mkdir -p ${extdir}
-    for dir in `${PHP_BIN}/php-config --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}
-        installf ${PKGINST} ${dir}
+        idir=`echo ${extdir} |sed "s,\(.*/$dir\).*,\1,"`
+        chown -R root:bin ${idir}
+        chmod -R 0755 ${idir}
+        installf ${PKGINST} ${idir}
     done
     installf -f ${PKGINST}
 fi


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