xorg: add a check on removal of 15-keyboard-apple.conf to prevent a error message to be logged

This commit is contained in:
Silvan Calarco 2011-10-03 01:46:31 +02:00
parent 433fddf577
commit 31b3fdc136

View File

@ -155,8 +155,8 @@ Section "InputClass"
MatchIsKeyboard "on" MatchIsKeyboard "on"
EndSection EndSection
__EOF __EOF
else elif [ -e /etc/X11/xorg.conf.d/15-keyboard-apple.conf ]; then
rm /etc/X11/xorg.conf.d/15-keyboard-apple.conf rm -f /etc/X11/xorg.conf.d/15-keyboard-apple.conf
fi fi
[ ! -e /etc/X11/xorg.conf.d/20-synaptics.conf ] && { [ ! -e /etc/X11/xorg.conf.d/20-synaptics.conf ] && {