Re: Better code in mythweb.postinst

Top Page

Reply to this message
Author: Carsten Aulbert
Date:  
To: dmo-discussion
Subject: 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