SHA256
1
0
forked from pool/fwupd

Accepting request 679447 from Base:System

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/679447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fwupd?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2019-03-05 11:15:46 +00:00 committed by Git OBS Bridge
commit 92c0bba833
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