Comment 14 for bug 1079972

Revision history for this message
Harry Coin (hcoin) wrote :

Bug with fix is here:

Note mythexport/dir in debconf's config.dat is empty.

mythexport.postinst:
...
case "$1" in
    configure)
    . /usr/share/debconf/confmodule

    db_get mythexport/dir
    dir="$RET"
-- if [ -n $dir ]; then
++ if [ "x$dir" != "x" ]; then
       mkdir -p $dir

        chown mythtv:mythtv $dir || true

        mkdir -p $dir

        chown mythtv:mythtv $dir || true
...