[Dbconfig-common-devel] Help: Skript is not called
Andreas Tille
tillea at rki.de
Wed Feb 7 23:19:24 CET 2007
Hi,
my plan was to call a script as it is described in
file:///usr/share/doc/dbconfig-common/dbconfig-common.html/ch-develguide.html
"3.1.2 Supplying the data/code for your database"
/usr/share/dbconfig-common/scripts/PACKAGE/install/DBTYPE
but I seem to missinterpret the docs. I tried both putting a script
/usr/share/dbconfig-common/scripts/gnumed-server-common/install/pgsql/gnumed-server
and simply
/usr/share/dbconfig-common/scripts/gnumed-server-common/install/pgsql
and added some debug calls that write a logfile. Unfortunately
the debug lines do not appear. The debug line looks like
echo `date`: $0 $@ >> /var/tmp/gnumed-server_inst.log
which I also putted into config and postinst script which obviousely
works:
Mi 7. Feb 23:10:15 CET 2007: /var/lib/dpkg/tmp.ci/config configure 0.2.4.2-1
Mi 7. Feb 23:10:15 CET 2007: /var/lib/dpkg/tmp.ci/config configure 0.2.4.2-1
Mi 7. Feb 23:10:19 CET 2007: /var/lib/dpkg/info/gnumed-server-common.config configure 0.2.4.2-1
Mi 7. Feb 23:10:20 CET 2007: /var/lib/dpkg/info/gnumed-server-common.config configure 0.2.4.2-1
Mi 7. Feb 23:10:20 CET 2007: /var/lib/dpkg/info/gnumed-server-common.postinst configure 0.2.4.2-1
Mi 7. Feb 23:10:20 CET 2007: /var/lib/dpkg/info/gnumed-server-common.postinst configure 0.2.4.2-1
But there is no such line from the script I wanted to be run from
dbconfig-commmon. Could anybody enlighten me please how to use
this correctly?
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Dbconfig-common-devel
mailing list