Commit c74da9a0 authored by Anton Midyukov's avatar Anton Midyukov

l10n: fix conditions in 50-l10n-gnome-kb-switch

parent 3aede463
...@@ -2,7 +2,10 @@ ...@@ -2,7 +2,10 @@
[ -n "$GLOBAL_GNOME_KB_SWITCH" ] || exit 0 [ -n "$GLOBAL_GNOME_KB_SWITCH" ] || exit 0
gsettings get org.gnome.desktop.wm.keybindings switch-input-source || return 0 which gsettings 2>&1 >/dev/null || exit 0
[ -n "$(gsettings get org.gnome.desktop.wm.keybindings switch-input-source 2>/dev/null)" ] ||
exit 0
cat > /etc/dconf/db/local.d/01-gnome-keymap <<EOF cat > /etc/dconf/db/local.d/01-gnome-keymap <<EOF
[org/gnome/desktop/wm/keybindings] [org/gnome/desktop/wm/keybindings]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment