SHA256
1
0
forked from pool/fwupd

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
This commit is contained in:
Marcus Meissner 2019-02-06 10:21:56 +00:00 committed by Git OBS Bridge
parent 0963349af3
commit a2c51051ca
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 5 23:00:20 UTC 2019 - Bernhard Voelker <mail@bernhard-voelker.de>
- fwupd.spec: fix shell syntax error in %postun section (boo#1120363).
-------------------------------------------------------------------
Thu Jan 10 09:14:45 UTC 2019 - bjorn.lie@gmail.com

View File

@ -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