Accepting request 1226512 from GNOME:Factory

- Uninstall silently if update-mime-database is not present
  (bsc#1231463). (forwarded request 1226311 from mgorse)

OBS-URL: https://build.opensuse.org/request/show/1226512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shared-mime-info?expand=0&rev=74
This commit is contained in:
Ana Guerrero 2024-11-27 21:05:12 +00:00 committed by Git OBS Bridge
commit 5ac4fbf10f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 25 15:07:27 UTC 2024 - Michael Gorse <mgorse@suse.com>
- Uninstall silently if update-mime-database is not present
(bsc#1231463).
-------------------------------------------------------------------
Mon Feb 12 23:45:56 UTC 2024 - Michael Gorse <mgorse@suse.com>

View File

@ -82,7 +82,8 @@ export PKGSYSTEM_ENABLE_FSYNC=0
%filetriggerpostun -- %{_datadir}/mime
export PKGSYSTEM_ENABLE_FSYNC=0
[ -x %{_bindir}/update-mime-database ] && %{_bindir}/update-mime-database "%{_datadir}/mime"
[ -x %{_bindir}/update-mime-database ] || exit 0
%{_bindir}/update-mime-database "%{_datadir}/mime"
%files
%license COPYING