Fixing the bashism would involve changing all lines of the form:

  DEFAULTS=${DEFAULTS/db_server/db_host}

... to:

  DEFAULTS="$(printf %s "$DEFAULTS" | sed 's/db_server/db_host/')"

(Test this first!)

-- 
mythweb.postinst: 31: Syntax error: Bad substitution (fix is to use Bash 
instead)
https://launchpad.net/bugs/63493

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to