shellcheck fix

This commit is contained in:
Tobias Powalowski 2023-09-18 15:08:44 +02:00
parent a303e07f5e
commit 085316fb7b

View file

@ -174,10 +174,10 @@ _auto_set_locale() {
}
_auto_windowkeys() {
if ! [[ -e ${_DESTDIR}/etc/systemd/system/windowskeys.service ]]; then
if ! [[ -e "${_DESTDIR}/etc/systemd/system/windowskeys.service" ]]; then
# enable windowskeys on console
_progress "98" "Enable windowkeys on installed system..."
cp /etc/systemd/system/windowskeys.service ${_DESTDIR}/etc/systemd/system/windowskeys.service
cp "/etc/systemd/system/windowskeys.service" "${_DESTDIR}/etc/systemd/system/windowskeys.service"
chroot "${_DESTDIR}" systemctl enable windowkeys &>"${_NO_LOG}"
fi
}