Fix 80ubuntu-xmodmap in tdebase on Debian and Ubuntu

(cherry picked from commit fb019470a7)
v3.5.13-sru
Slávek Banko 12 years ago
parent 69c671dcfb
commit 5b6ac8585c

@ -2,11 +2,13 @@
#
# This file is sourced by Xsession(5), not executed.
# The "|| true" is to ensure that the Xsession script does not terminate on error
/usr/bin/xmodmap /usr/share/apps/kxkb/ubuntu.xmodmap || true
USRMODMAP="$HOME/.Xmodmap"
if [ -x /usr/bin/xmodmap ]; then
if [ -f /usr/share/apps/kxkb/ubuntu.xmodmap ]; then
/usr/bin/xmodmap /usr/share/apps/kxkb/ubuntu.xmodmap || true
fi
if [ -f "$USRMODMAP" ]; then
/usr/bin/xmodmap "$USRMODMAP" || true
fi

@ -2,11 +2,13 @@
#
# This file is sourced by Xsession(5), not executed.
# The "|| true" is to ensure that the Xsession script does not terminate on error
/usr/bin/xmodmap /usr/share/apps/kxkb/ubuntu.xmodmap || true
USRMODMAP="$HOME/.Xmodmap"
if [ -x /usr/bin/xmodmap ]; then
if [ -f /usr/share/apps/kxkb/ubuntu.xmodmap ]; then
/usr/bin/xmodmap /usr/share/apps/kxkb/ubuntu.xmodmap || true
fi
if [ -f "$USRMODMAP" ]; then
/usr/bin/xmodmap "$USRMODMAP" || true
fi

@ -2,11 +2,13 @@
#
# This file is sourced by Xsession(5), not executed.
# The "|| true" is to ensure that the Xsession script does not terminate on error
/usr/bin/xmodmap /usr/share/apps/kxkb/ubuntu.xmodmap || true
USRMODMAP="$HOME/.Xmodmap"
if [ -x /usr/bin/xmodmap ]; then
if [ -f /usr/share/apps/kxkb/ubuntu.xmodmap ]; then
/usr/bin/xmodmap /usr/share/apps/kxkb/ubuntu.xmodmap || true
fi
if [ -f "$USRMODMAP" ]; then
/usr/bin/xmodmap "$USRMODMAP" || true
fi

Loading…
Cancel
Save