Package: keyboard-configuration Version: 1.148 Followup-For: Bug #833378 Control: tag -1 + patch
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Find attached a patch that fixes this class of syntax errors. - -nik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJOBAEBCAA4BQJXoit6MRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n cGctcG9saWN5LnR4dC5hc2MACgkQt5o8FqDE8pZ9bRAA0lSh2Rosa3EVwNDACGi8 zJdtX3hxnEaxyl/iF9VFSH8jLFM+xgbvBw/dHsJFIgoZR3/SXJakkfWIoIRY9rpK /nlC/ozFaz6zn12kOo5kU9syShSZI7z7lbNSxfUXGKkMod0exPnxbabI6g7794nP H3IOiKy3St9Xc4afOJd1dXikjKpSsRYop+YbeoT+Ffx5QQ2Gx+t6nZbjLlpzPbxE 7lrrjJEO5z4jU2uI3LA+bzFgpDVhAA+RmdFFQdt1xYOXoIPQgi8N3BifJ8AqeECJ c2us1jdJ38i9LpiyaFTA4YOy2OE3Kr405rKbX9aeWyin2NrCp9P1dtCLCzImVHY2 1BNsMcJig+J2Jfpr30GjIBr8bvSDb2VnhCZ2Q1XwddFukay+lNO7cOkOZDNNWwKT SsOVvdot/Fq68iYYQwG+dxTnMAJ1PTxVB1GXIo4amT+Yo8uDysIvHuFKRCnoCUPC h0o+UOf8YdUZ48J6fKCw0nF8P3Y1MWwVItcMoRpjNRzFskv0y++bhJaU9a/n5m4P SpiCkOo/muf9icHNfNUjamTNvFXhqlctjlnL9IxD4TV+nyF/thTiEQ2uMfwNPwgP ylb5rVZA6P9OAG+vRTYXPzHfZTL7pu15uAw2pkKdipORqaLqEeEGsJ0RAEohnfJB ttBk8XKpeV2ZigvVSNIUxiA= =Turl -----END PGP SIGNATURE-----
--- keyboard-configuration.config 2016-08-03 18:56:12.748813432 +0200 +++ keyboard-configuration.config.new 2016-08-03 19:33:26.934585427 +0200 @@ -34615,10 +34615,10 @@ # Get defaults from debconf, to allow preseeding in the udeb if db_get keyboard-configuration/xkb-keymap && [ "$RET" ]; then keymap="$RET" - layout="${keymap%(*}" + layout="${keymap%\(*}" variant="${keymap#$layout}" - variant="${variant%)}" - variant="${variant#(}" + variant="${variant%\)}" + variant="${variant#\(}" XKBLAYOUT="$layout" XKBVARIANT="$variant" fi @@ -35114,10 +35114,10 @@ db_fset keyboard-configuration/variant seen true db_get keyboard-configuration/xkb-keymap keymap="$RET" - debconf_layout="${keymap%(*}" + debconf_layout="${keymap%\(*}" debconf_variant="${keymap#$debconf_layout}" - debconf_variant="${debconf_variant%)}" - debconf_variant="${debconf_variant#(}" + debconf_variant="${debconf_variant%\)}" + debconf_variant="${debconf_variant#\(}" STATE=$(($STATE + 1)) else STATE=$(($STATE - 1))