Public bug reported: 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. ** Affects: dbconfig-common (Ubuntu) Importance: Undecided Status: New ** Affects: dbconfig-common (Debian) Importance: Unknown Status: Unknown ** Bug watch added: Debian Bug tracker #817889 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817889 ** Also affects: dbconfig-common (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817889 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1557153 Title: dbconfig-common Syntax Error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dbconfig-common/+bug/1557153/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs