Package: dbconfig-common
Version: 2.0.3
internal/mysql has this at line 404:
if [ "$dbc_dbserver" != "" ] && "$dbc_dbserver" != localhost ; then
It needs brackets like this instead:
if [ "$dbc_dbserver" != "" ] && [ "$dbc_dbserver" != localhost ] ; then
Otherwise, I get this (where PACKAGE is the name of the package I'm
working on):
/var/lib/dpkg/info/PACKAGE.config: 404:
/var/lib/dpkg/info/PACKAGE.config: localhost: not found
If you're looking to reproduce this, note that I'm using /bin/sh (which
is dash), not /bin/bash.
--
Richard