diff --git a/postplug.d/30xorg b/postplug.d/30xorg index d74860a..871989b 100644 --- a/postplug.d/30xorg +++ b/postplug.d/30xorg @@ -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 ] && {