diff --git a/debian/preinst b/debian/preinst index dd09e9567f..2ce29a0cf1 100644 --- a/debian/preinst +++ b/debian/preinst @@ -55,7 +55,7 @@ case "$1" in fi # Clean up old Emby cruft that can break the user's system - test -f /etc/sudoers.d/emby && rm -f /etc/sudoers.d/emby + [[ -f /etc/sudoers.d/emby ]] && rm -f /etc/sudoers.d/emby ;; abort-upgrade)