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"
EndSection
__EOF
else
rm /etc/X11/xorg.conf.d/15-keyboard-apple.conf
elif [ -e /etc/X11/xorg.conf.d/15-keyboard-apple.conf ]; then
rm -f /etc/X11/xorg.conf.d/15-keyboard-apple.conf
fi
[ ! -e /etc/X11/xorg.conf.d/20-synaptics.conf ] && {