[Debconf-devel] Fwd: Packaging problem with debconf

Jiri Palecek jpalecek at web.de
Tue Jun 11 13:56:15 BST 2019


dhenry at mytinydc.com (Damien HENRY - MytinyDC.com) writes:

> Hi,

Hi,

> I ve this code :
>
> *file /DEBIAN/config*
>
> # Database
> db_input critical matrix/DATABASES || true
> db_go
> db_get matrix/DATABASES
> if [ "$RET"= "Postgresql"]; then

You've got an error in your code here. It should be

[ "$RET" *space* = *space* "..." ]

The first space is missing, which makes "test" not recognize its
arguments and probably report an error.

Regards
    Jiri Palecek



More information about the Debconf-devel mailing list