Hello community, here is the log from the commit of package live-langset-data for openSUSE:Factory checked in at 2018-11-08 09:49:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/live-langset-data (Old) and /work/SRC/openSUSE:Factory/.live-langset-data.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "live-langset-data" Thu Nov 8 09:49:16 2018 rev:10 rq:646693 version:2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/live-langset-data/live-langset-data.changes 2018-10-31 13:22:14.675012393 +0100 +++ /work/SRC/openSUSE:Factory/.live-langset-data.new/live-langset-data.changes 2018-11-08 09:49:23.485036092 +0100 @@ -1,0 +2,6 @@ +Tue Nov 6 15:23:41 UTC 2018 - Fabian Vogt <[email protected]> + +- Use only the basename of the keytable +- Use a multi-line compatible sed expression for replacement + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ langset.sh ++++++ --- /var/tmp/diff_new_pack.qLgnTh/_old 2018-11-08 09:49:23.981035507 +0100 +++ /var/tmp/diff_new_pack.qLgnTh/_new 2018-11-08 09:49:23.981035507 +0100 @@ -35,14 +35,17 @@ # Read all values of the langset data files . "$file" +# Chop the extension off +KEYTABLE="${KEYTABLE%%.map*}" + # Apply all options [ -n "$RC_LC_MESSAGES" ] || RC_LC_MESSAGES=$RC_LANG [ -z "$RC_LANG" ] || localectl set-locale LANG=$RC_LANG LC_MESSAGES=$RC_LC_MESSAGES # set_vconsole_option KEY value set_vconsole_option() { - # "t;q1" means that this sed command exits with 1 if no substitution was done - sed -i"" -E "s/^$1=.+\$/$1=$2/g;t;q1" /etc/vconsole.conf && return + # This sed command exits with 1 if no substitution was done + sed -i"" -E "/^$1=.*\$/,\${s//$1=$2/;b};\$q1" /etc/vconsole.conf && return echo "$1=$2" >> /etc/vconsole.conf }
