Re: Better code in mythweb.postinst

トップ ページ

このメッセージに返信
著者: Carsten Aulbert
日付:  
To: dmo-discussion
題目: 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