# HG changeset patch # User Heiko Schlittermann (JUMPER) # Date 1316008771 -7200 # Node ID a170d243ea64a14757efe293ab5b9a631c2b6a50 # Parent 66d75379a0c686cfbe3425db6357df06dd9f31c1 attempt to get the new db updater script working: nope diff -r 66d75379a0c6 -r a170d243ea64 .hgignore --- a/.hgignore Wed Sep 14 14:45:21 2011 +0200 +++ b/.hgignore Wed Sep 14 15:59:31 2011 +0200 @@ -1,5 +1,10 @@ syntax: glob -LittleBird +TrustCenter +CA +Database +3rdparty +RestInterface +library debian/files debian/littlebird-tc-common debian/littlebird-tc-core diff -r 66d75379a0c6 -r a170d243ea64 debian/control --- a/debian/control Wed Sep 14 14:45:21 2011 +0200 +++ b/debian/control Wed Sep 14 15:59:31 2011 +0200 @@ -24,7 +24,7 @@ Package: littlebird-tc-sql Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, littlebird-tc-core (>= ${source:Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, littlebird-tc-core (>= ${source:Version}), bash Suggests: mysql-server Description: littlebird sql files This package contains the sql files for initializing or diff -r 66d75379a0c6 -r a170d243ea64 debian/littlebird-tc-core.install --- a/debian/littlebird-tc-core.install Wed Sep 14 14:45:21 2011 +0200 +++ b/debian/littlebird-tc-core.install Wed Sep 14 15:59:31 2011 +0200 @@ -1,2 +1,2 @@ -LittleBird/{CA,library,TrustCenter,RestInterface} /srv/www/littlebird +{CA,library,TrustCenter,RestInterface} /srv/www/littlebird debian/examples/apache /usr/share/doc/littlebird-tc/examples diff -r 66d75379a0c6 -r a170d243ea64 debian/littlebird-tc-sql.install --- a/debian/littlebird-tc-sql.install Wed Sep 14 14:45:21 2011 +0200 +++ b/debian/littlebird-tc-sql.install Wed Sep 14 15:59:31 2011 +0200 @@ -1,1 +1,1 @@ -LittleBird/Database/. /usr/share/littlebird-tc/sql +Database/. /usr/share/littlebird-tc/sql diff -r 66d75379a0c6 -r a170d243ea64 debian/littlebird-tc-sql.postinst --- a/debian/littlebird-tc-sql.postinst Wed Sep 14 14:45:21 2011 +0200 +++ b/debian/littlebird-tc-sql.postinst Wed Sep 14 15:59:31 2011 +0200 @@ -61,15 +61,19 @@ # create or update the user _mysql < + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- littlebird-2011091400.orig/TrustCenter/scripts/install_update_db.sh ++++ littlebird-2011091400/TrustCenter/scripts/install_update_db.sh +@@ -1,6 +1,6 @@ +-#!/bin/sh ++#!/bin/bash + # cron script actual statistic + ZF_CONF=$(dirname `readlink -f $0`)/../zf_conf.sh + source $ZF_CONF + +-$ZEND_PROJECT_PATH/zf.sh database update root L1ttleB1rd ++$ZEND_PROJECT_PATH/zf.sh database update ${1-root} ${2-L1ttleB1rd} diff -r 66d75379a0c6 -r a170d243ea64 debian/patches/series --- a/debian/patches/series Wed Sep 14 14:45:21 2011 +0200 +++ b/debian/patches/series Wed Sep 14 15:59:31 2011 +0200 @@ -1,4 +1,1 @@ -debian-changes-2011072500-8 -debian-changes-2011072500-14 -debian-changes-2011072500-17 -debian-changes-2011072500-18 +db-update