From a2c51051ca4e65b859a2142c6420ff2f04a7a1c5b357e2e3cb27df9ddb5b65aa Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 6 Feb 2019 10:21:56 +0000 Subject: [PATCH] Accepting request 671984 from home:berny:branches:Base:System - fwupd.spec: fix shell syntax error in %postun section (boo#1120363). OBS-URL: https://build.opensuse.org/request/show/671984 OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=45 --- fwupd.changes | 5 +++++ fwupd.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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