Update of /cvsroot/fink/experimental/thesin/finkinfo
In directory vz-cvs-3.sog:/tmp/cvs-serv26384

Modified Files:
        php5.info 
Log Message:
Lots of script fixes for paths I missed on the convert to using ucf

Index: php5.info
===================================================================
RCS file: /cvsroot/fink/experimental/thesin/finkinfo/php5.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- php5.info   30 Jul 2012 23:19:38 -0000      1.2
+++ php5.info   3 Aug 2012 15:16:11 -0000       1.3
@@ -661,11 +661,11 @@
 if [ "$1" = "configure" ]; then
     for dsoname in curl ; do
        inifile=${dsoname}.ini
-       priority=$(sed -ne "s/^; priority=\([0-9]\+\)$/\\1/p" 
${inidir}/${inifile})
+       priority=$(sed -ne "s/^; priority=\([0-9]\+\)$/\\1/p" 
%p/share/php5/${package}/${inifile})
 
         # Register new conffile with UCF
         ucf %p/share/php5/${package}/${inifile} ${inidir}/${inifile}
-        ucfr --force %n ${inidir}/${inifile}
+        ucfr %n ${inidir}/${inifile}
 
[...1102 lines suppressed...]
+        for ext in '~' '%%' .bak .ucf-new .ucf-old .ucf-dist;  do
            rm -f ${inidir}/${inifile}${ext}
-       done
-       rm -f ${inidir}/${inifile}
-       if which ucf >/dev/null; then
+        done
+        rm -f ${inidir}/${inifile}
+        if which ucf >/dev/null; then
            ucf --purge ${inidir}/${inifile}
-       fi
-       if which ucfr >/dev/null; then
-           ucfr --purge %n ${inidir}/${inifile}
-       fi
+        fi
+        if which ucfr >/dev/null; then
+           ucfr --purge php5-${package} ${inidir}/${inifile}
+        fi
     fi
 done
   <<


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to