dbconfig-common Syntax Error
Bug #1557153 reported by
Richard Laager
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbconfig-common (Debian) |
Fix Released
|
Unknown
|
|||
dbconfig-common (Ubuntu) |
Fix Released
|
Undecided
|
Graham Inggs |
Bug Description
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/
If you're looking to reproduce this, note that I'm using /bin/sh (which is dash), not /bin/bash.
Changed in dbconfig-common (Ubuntu): | |
status: | New → Confirmed |
assignee: | nobody → Graham Inggs (ginggs) |
Changed in dbconfig-common (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
This bug was introduced in dbconfig-common 2.0.3, which is in Xenial. The fix is already in Debian as 2.0.4 (along with a couple other fixes). What is necessary to get dbconfig-common 2.0.4 into Xenial?