[Pkg-sympa-commits] [SCM] sympa Debian packaging branch, master, updated. debian/6.1.11_dfsg-5-12-gc847c76

Emmanuel Bouthenot kolter at openics.org
Sun Jul 21 17:47:32 UTC 2013


The following commit has been merged in the master branch:
commit 4e24b3d4b04bc466e3f5f3c88540dfcce56eb58a
Author: Emmanuel Bouthenot <kolter at openics.org>
Date:   Sat Jun 15 09:14:03 2013 +0000

    Fix generation of SQL files used by db-config according to reflect the upstream changes

diff --git a/debian/rules b/debian/rules
index 733eef4..6ae3965 100755
--- a/debian/rules
+++ b/debian/rules
@@ -104,13 +104,12 @@ clean::
 build/sympa::
 	mkdir -p debian/dbconfig-common/install
 	perl -n \
-		-e '/^CREATE\s+TABLE\s+\w+\s+\($$/ and $$ok++;' \
+		-e '/^CREATE\s+TABLE\s+\w+\s+\(\s*$$/ and $$ok++;' \
 		-e 'print if $$ok;' \
 		src/etc/script/create_db.mysql \
 		> debian/dbconfig-common/install/mysql
 	perl -n \
-		-e '/^CREATE\s+TABLE\s+\w+\s+\($$/ and $$ok++;' \
-		-e '/^DROP\s+\w+\s+\w+;$$/ and undef $$ok;' \
+		-e '/^CREATE\s+TABLE\s+\w+\s+\(\s*$$/ and $$ok++;' \
 		-e 'print if $$ok;' \
 		src/etc/script/create_db.Pg \
 		> debian/dbconfig-common/install/postgres

-- 
sympa Debian packaging



More information about the Pkg-sympa-commits mailing list