Re: Better code in mythweb.postinst

Page principale

Répondre à ce message
Auteur: Carsten Aulbert
Date:  
À: dmo-discussion
Sujet: Re: Better code in mythweb.postinst
Thus what about

--- postinst.OLD        2013-08-16 14:58:23.200329988 +0200
+++ postinst    2013-08-16 14:59:44.527315268 +0200
@@ -15,7 +15,7 @@
        db_get mythtv/mysql_mythtv_user
        mythtv_username="$RET"
        db_get mythtv/mysql_mythtv_password
-       mythtv_password="$RET"
+       mythtv_password=$( echo "$RET" | sed 's#/#\\/#g' )


        db_stop


as I've got no test mythweb setup available right now, I cannot fully
test it.

Cheers

Carsten