Re: ITP vexim
On Mon, 23 Jan 2006 00:16:25 +0100, Daniel Knabl <daniel@knabl.com>
wrote:
>case "$1" in
> configure)
> db_get vexim/dc_vexim_pass || true
> dc_vexim_pass=$RET
> db_get vexim/dc_vexim_myip || true
> dc_vexim_myip=$RET
> db_get vexim/dc_vexim_fdqn || true
> dc_vexim_fdqn=$RET
> cat /usr/share/doc/vexim/setup/mysql.sql |\
> sed s/@@PASS@@/$dc_vexim_pass/g |\
> sed s/@@MYIP@@/$dc_vexim_myip/g |\
> sed s/@@FDQN@@/$dc_vexim_fdqn/g \
> > /tmp/vexim_mysql.tmp
> mysql -u debian-sys-maint \
> < /tmp/vexim_mysql.tmp
> rm /tmp/vexim_mysql.tmp
I am not sure whether maintainer scripts are allowed to rely on
information found in /usr/share/doc. Refer to the policy, please.
Greetings
Marc
--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Mannheim, Germany | Beginning of Wisdom " | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
Reply to: