Author: jsmeix Date: Wed Jun 23 16:07:03 2010 New Revision: 62153 URL: http://svn.opensuse.org/viewcvs/yast?rev=62153&view=rev Log: - In autodetect_print_queues replace each " character by \" in the YCP output for the print queue description and location strings (see Novell/Suse Bugzilla bnc#616687). - 2.19.13 Modified: trunk/printer/VERSION trunk/printer/package/yast2-printer.changes trunk/printer/tools/autodetect_print_queues Modified: trunk/printer/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/VERSION?rev=62153&r1=62152&r2=62153&view=diff ============================================================================== --- trunk/printer/VERSION (original) +++ trunk/printer/VERSION Wed Jun 23 16:07:03 2010 @@ -1 +1 @@ -2.19.12 +2.19.13 Modified: trunk/printer/package/yast2-printer.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/package/yast2-printer.changes?rev=62153&r1=62152&r2=62153&view=diff ============================================================================== --- trunk/printer/package/yast2-printer.changes (original) +++ trunk/printer/package/yast2-printer.changes Wed Jun 23 16:07:03 2010 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Wed Jun 23 15:59:44 CEST 2010 - jsmeix@suse.de + +- In autodetect_print_queues replace each " character by \" in + the YCP output for the print queue description and location + strings (see Novell/Suse Bugzilla bnc#616687). +- 2.19.13 + +------------------------------------------------------------------- Wed Jun 2 16:02:09 CEST 2010 - jsmeix@suse.de - In Printer.ycp and helps.ycp fixed the text strings therein Modified: trunk/printer/tools/autodetect_print_queues URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/tools/autodetect_print_queues?rev=62153&r1=62152&r2=62153&view=diff ============================================================================== --- trunk/printer/tools/autodetect_print_queues (original) +++ trunk/printer/tools/autodetect_print_queues Wed Jun 23 16:07:03 2010 @@ -149,8 +149,8 @@ do case "$KEY" in queue) Output QUEUE="$VALUE" - DESCRIPTION=$( sed -n -e "/printer $QUEUE /,/On fault:/{s/^[[:space:]]*Description: //p}" $TMP_DATA_RAW_L ) - LOCATION=$( sed -n -e "/printer $QUEUE /,/On fault:/{s/^[[:space:]]*Location: //p}" $TMP_DATA_RAW_L ) + DESCRIPTION=$( sed -n -e "/printer $QUEUE /,/On fault:/{s/^[[:space:]]*Description: //p}" $TMP_DATA_RAW_L | sed -e 's/"/\\"/g' ) + LOCATION=$( sed -n -e "/printer $QUEUE /,/On fault:/{s/^[[:space:]]*Location: //p}" $TMP_DATA_RAW_L | sed -e 's/"/\\"/g' ) PPD=$( sed -n -e "/printer $QUEUE /,/On fault:/{s/^[[:space:]]*Interface: //p}" $TMP_DATA_RAW_L ) [ "${PPD##*.}" != "ppd" ] && PPD="" DISABLED=$( grep -q "^printer $QUEUE disabled" $TMP_DATA_RAW_L && echo "yes" || echo "no" ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org