SPECS: phpPgAdmin.spec - more precise regexp for config version fi...

hawk hawk at pld-linux.org
Mon Jun 11 22:45:01 CEST 2007


Author: hawk                         Date: Mon Jun 11 20:45:01 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more precise regexp for config version fix in triggerpostun

---- Files affected:
SPECS:
   phpPgAdmin.spec (1.68 -> 1.69) 

---- Diffs:

================================================================
Index: SPECS/phpPgAdmin.spec
diff -u SPECS/phpPgAdmin.spec:1.68 SPECS/phpPgAdmin.spec:1.69
--- SPECS/phpPgAdmin.spec:1.68	Mon Jun 11 21:43:00 2007
+++ SPECS/phpPgAdmin.spec	Mon Jun 11 22:44:56 2007
@@ -98,9 +98,10 @@
 	httpd_reload=1
 fi
 
+# change config version number for 4.1.2
 if [ -f /etc/webapps/phpPgAdmin/config.inc.php ]; then
 	echo "Adjusting configuration for phpPgAdmin 4.1.2"
-	sed -i -e 's at 15;@17;@g' /etc/webapps/phpPgAdmin/config.inc.php
+	sed -i -e '/conf.*version/s/[0-9][0-9][\t ]*;/17;/' /etc/webapps/phpPgAdmin/config.inc.php
 fi
 
 # migrate from httpd (apache2) config dir
@@ -166,6 +167,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.69  2007/06/11 20:44:56  hawk
+- more precise regexp for config version fix in triggerpostun
+
 Revision 1.68  2007/06/11 19:43:00  shadzik
 - add trigger for proper config version
 - rel 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/phpPgAdmin.spec?r1=1.68&r2=1.69&f=u



More information about the pld-cvs-commit mailing list