Re: Better code in mythweb.postinst

Página superior

Responder a este mensaje
Autor: Carsten Aulbert
Fecha:  
A: dmo-discussion
Asunto: 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