[med-svn] r1491 - in trunk/packages/gnumed-server/trunk/debian: . patches
tille at alioth.debian.org
tille at alioth.debian.org
Sat Mar 1 14:02:29 UTC 2008
Author: tille
Date: 2008-03-01 14:02:29 +0000 (Sat, 01 Mar 2008)
New Revision: 1491
Removed:
trunk/packages/gnumed-server/trunk/debian/gnumed-server.install
trunk/packages/gnumed-server/trunk/debian/patches/20_interactive
Modified:
trunk/packages/gnumed-server/trunk/debian/patches/series
trunk/packages/gnumed-server/trunk/debian/rules
Log:
Fix interactive settings in config files
Deleted: trunk/packages/gnumed-server/trunk/debian/gnumed-server.install
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/gnumed-server.install 2008-03-01 12:12:36 UTC (rev 1490)
+++ trunk/packages/gnumed-server/trunk/debian/gnumed-server.install 2008-03-01 14:02:29 UTC (rev 1491)
@@ -1,2 +0,0 @@
-server/bootstrap var/lib/gnumed/server
-server/sql var/lib/gnumed/server
Deleted: trunk/packages/gnumed-server/trunk/debian/patches/20_interactive
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/patches/20_interactive 2008-03-01 12:12:36 UTC (rev 1490)
+++ trunk/packages/gnumed-server/trunk/debian/patches/20_interactive 2008-03-01 14:02:29 UTC (rev 1491)
@@ -1,87 +0,0 @@
---- GNUmed-v8.orig/server/bootstrap/update_db-v2_v3.conf
-+++ GNUmed-v8/server/bootstrap/update_db-v2_v3.conf
-@@ -10,7 +10,7 @@
-
- #----------------------------------
- [installation]
--interactive = yes
-+interactive = no
-
- keep temp files = no
-
---- GNUmed-v8.orig/server/bootstrap/update_db-v3_v4.conf
-+++ GNUmed-v8/server/bootstrap/update_db-v3_v4.conf
-@@ -10,7 +10,7 @@
-
- #----------------------------------
- [installation]
--interactive = yes
-+interactive = no
-
- keep temp files = no
-
---- GNUmed-v8.orig/server/bootstrap/update_db-v4_v5.conf
-+++ GNUmed-v8/server/bootstrap/update_db-v4_v5.conf
-@@ -10,7 +10,7 @@
-
- #----------------------------------
- [installation]
--interactive = yes
-+interactive = no
-
- keep temp files = no
-
---- GNUmed-v8.orig/server/bootstrap/update_db-v5_v6.conf
-+++ GNUmed-v8/server/bootstrap/update_db-v5_v6.conf
-@@ -10,7 +10,7 @@
-
- #----------------------------------
- [installation]
--interactive = yes
-+interactive = no
-
- keep temp files = no
-
-@@ -162,4 +162,4 @@
- #
- # Revision 1.11 2007/03/27 17:37:57 ncq
- # - add Release 0.2.5 workplace, backported from branch
--#
-\ No newline at end of file
-+#
---- GNUmed-v8.orig/server/bootstrap/update_db-v6_v7.conf
-+++ GNUmed-v8/server/bootstrap/update_db-v6_v7.conf
-@@ -10,7 +10,7 @@
-
- #----------------------------------
- [installation]
--interactive = yes
-+interactive = no
-
- keep temp files = no
-
-@@ -204,4 +204,4 @@
- #
- # Revision 1.11 2007/03/27 17:37:57 ncq
- # - add Release 0.2.5 workplace, backported from branch
--#
-\ No newline at end of file
-+#
---- GNUmed-v8.orig/server/bootstrap/update_db-v7_v8.conf
-+++ GNUmed-v8/server/bootstrap/update_db-v7_v8.conf
-@@ -10,7 +10,7 @@
-
- #----------------------------------
- [installation]
--interactive = yes
-+interactive = no
-
- keep temp files = no
-
-@@ -252,4 +252,4 @@
- #
- # Revision 1.11 2007/03/27 17:37:57 ncq
- # - add Release 0.2.5 workplace, backported from branch
--#
-\ No newline at end of file
-+#
Modified: trunk/packages/gnumed-server/trunk/debian/patches/series
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/patches/series 2008-03-01 12:12:36 UTC (rev 1490)
+++ trunk/packages/gnumed-server/trunk/debian/patches/series 2008-03-01 14:02:29 UTC (rev 1491)
@@ -1,2 +1 @@
10_log_base
-20_interactive
Modified: trunk/packages/gnumed-server/trunk/debian/rules
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/rules 2008-03-01 12:12:36 UTC (rev 1490)
+++ trunk/packages/gnumed-server/trunk/debian/rules 2008-03-01 14:02:29 UTC (rev 1491)
@@ -7,3 +7,8 @@
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/debhelper.mk
+install/gnumed-server::
+ cp -a server/bootstrap/[a-z]* debian/$(pkg)/var/lib/gnumed/server/bootstrap
+ for conffile in `find debian/$(pkg)/var/lib/gnumed/server/bootstrap -maxdepth 1 -type f -name \*.conf` ; do \
+ sed -i 's/^\(interactive[[:space:]]*=[[:space:]]*\)yes/\1no/' "$$conffile" ; \
+ done
More information about the debian-med-commit
mailing list