[mythtv-commits] Ticket #12780: debian mythweb package fails to install if mysql password contains a forward slash
MythTV
noreply at mythtv.org
Thu May 19 11:58:28 UTC 2016
#12780: debian mythweb package fails to install if mysql password contains a
forward slash
--------------------------------------+----------------------------
Reporter: jason@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: Packaging | Version: 0.28.0
Severity: medium | Keywords: debian mythweb
Ticket locked: 0 |
--------------------------------------+----------------------------
my password to mysql contains a forward slash and when I try and install
the mythweb debian package, it fails during postinst with:
{{{
sed: -e expression #1, char 209: unknown option to `s'
}}}
this is due to the string containing a / which interferes with sed's regex
{{{
s/^.*\(setenv\sdb_password\s\+\"\).*\"/\t\1$mythtv_password\"/g;
}}}
password should probably be escaped prior to using with sed. patch to
follow
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12780>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list