- Fix %filetriggerpostun for icon cache: ensure the icons that have
just been removed are also cleared from the cache. We can't shortcut on upgrades, even though this would be nice. In context of RPM 4.20 this started breaking (boo#1236740). OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=466
This commit is contained in:
parent
94b5df55a9
commit
92bae1d811
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 3 13:27:08 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Fix %filetriggerpostun for icon cache: ensure the icons that have
|
||||
just been removed are also cleared from the cache. We can't
|
||||
shortcut on upgrades, even though this would be nice. In context
|
||||
of RPM 4.20 this started breaking (boo#1236740).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 25 17:15:50 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
|
@ -488,8 +488,7 @@ fi
|
||||
|
||||
%filetriggerpostun tools -- %{_datadir}/icons
|
||||
# We ignore upgrades (already handled by the newer package's filetriggerin).
|
||||
if [ "$1" -eq 0 ] &&
|
||||
[ -x "%__update_iconcache" ]; then
|
||||
if [ -x "%__update_iconcache" ]; then
|
||||
for ICON_THEME in $(cut -d / -f 5 | sort -u); do
|
||||
if [ -f "%{_datadir}/icons/${ICON_THEME}/index.theme" ]; then
|
||||
%__update_iconcache --quiet --force "%{_datadir}/icons/${ICON_THEME}" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user