diff --git a/fwupd.changes b/fwupd.changes index 1509400..e7892e8 100644 --- a/fwupd.changes +++ b/fwupd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 5 23:00:20 UTC 2019 - Bernhard Voelker + +- fwupd.spec: fix shell syntax error in %postun section (boo#1120363). + ------------------------------------------------------------------- Thu Jan 10 09:14:45 UTC 2019 - bjorn.lie@gmail.com diff --git a/fwupd.spec b/fwupd.spec index 292d2a0..410b627 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -196,7 +196,7 @@ fi %postun %service_del_postun %{name}.service fwupd-offline-update.service %if %{with efi_fw_update} -if [ "$1" = 0 && -d "/boot/efi/EFI/%{efidir}" ] ; then +if [ "$1" = 0 ] && [ -d "/boot/efi/EFI/%{efidir}" ] ; then # Remove all capsule files rm -rf /boot/efi/EFI/%{efidir}/fw # Remove the UEFI firmware update program