[csw-devel] SF.net SVN: gar:[4702] csw/mgar/pkg/php5/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Wed May 6 00:09:20 CEST 2009


Revision: 4702
          http://gar.svn.sourceforge.net/gar/?rev=4702&view=rev
Author:   valholla
Date:     2009-05-05 22:09:20 +0000 (Tue, 05 May 2009)

Log Message:
-----------
tweak post-install

Modified Paths:
--------------
    csw/mgar/pkg/php5/trunk/checksums
    csw/mgar/pkg/php5/trunk/files/CSWphp5.postinstall

Modified: csw/mgar/pkg/php5/trunk/checksums
===================================================================
--- csw/mgar/pkg/php5/trunk/checksums	2009-05-05 22:01:12 UTC (rev 4701)
+++ csw/mgar/pkg/php5/trunk/checksums	2009-05-05 22:09:20 UTC (rev 4702)
@@ -4,7 +4,7 @@
 5f0046fe1b3f8e2228fdb165bdbbe73a  download/CSWmodphp5.postinstall
 2e5dbed2c9dd5e24c331753984946822  download/CSWmodphp5.preremove
 0dd379f20ceb32fc77bb3a9bf045097f  download/CSWmodphp5.space
-bc2a45ba7d5f65b8e027f70d4fefce78  download/CSWphp5.postinstall
+838488d589349bf4d0cf800e3e60d8a9  download/CSWphp5.postinstall
 89e79becc9d7698c5c561581f2b098bc  download/CSWphp5_ext_disable.sh
 de56d3571f4484284d106af158bffc38  download/CSWphp5_ext_enable.sh
 ab08e2ba62667bf13fa236099e433e84  download/configure.diff

Modified: csw/mgar/pkg/php5/trunk/files/CSWphp5.postinstall
===================================================================
--- csw/mgar/pkg/php5/trunk/files/CSWphp5.postinstall	2009-05-05 22:01:12 UTC (rev 4701)
+++ csw/mgar/pkg/php5/trunk/files/CSWphp5.postinstall	2009-05-05 22:09:20 UTC (rev 4702)
@@ -48,14 +48,18 @@
 _EOT_
 cnt=1
 for name in `echo ${new_pkgs}`; do
+    if [ ${cnt} -eq 1 ]; then
+        echo "* \c"
+    fi
     if [ `expr ${cnt} % 4` -ne 0 ]; then
         echo "${name} \c"
+        cnt=`expr ${cnt} + 1`
     else
         echo "${name}"
+        cnt=1
     fi
-    cnt=`expr ${cnt} + 1`
 done
-if [ `expr ${cnt} - 1` -ne 4 ]; then
+if [ ${cnt} -ne 1 ]; then
     echo
 fi
 cat << _EOT_
@@ -87,14 +91,18 @@
 _EOT_
 cnt=1
 for name in `echo ${non_pkgs}`; do
+    if [ ${cnt} -eq 1 ]; then
+        echo "* \c"
+    fi
     if [ `expr ${cnt} % 4` -ne 0 ]; then
         echo "${name} \c"
+        cnt=`expr ${cnt} + 1`
     else
         echo "${name}"
+        cnt=1
     fi
-    cnt=`expr ${cnt} + 1`
 done
-if [ `expr ${cnt} - 1` -ne 4 ]; then
+if [ ${cnt} -ne 1 ]; then
     echo
 fi
 cat << _EOT_


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