public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/generic-logos] rawhide: Drop obsolete scriptlets (replaced by file triggers now)
@ 2026-07-06 14:50
0 siblings, 0 replies; only message in thread
From: @ 2026-07-06 14:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/generic-logos
Branch : rawhide
Commit : 6e1dcbb7450684937d5ccd2c85da2f68bd1039f7
Author : Timothée Ravier <tim@siosm.fr>
Date : 2026-06-02T22:46:33+02:00
Stats : +0/-29 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/generic-logos/c/6e1dcbb7450684937d5ccd2c85da2f68bd1039f7?branch=rawhide
Log:
Drop obsolete scriptlets (replaced by file triggers now)
---
diff --git a/generic-logos.spec b/generic-logos.spec
index f3f1ff6..93059b0 100644
--- a/generic-logos.spec
+++ b/generic-logos.spec
@@ -107,35 +107,6 @@ popd
# save some dup'd icons
%fdupes %{buildroot}/
-%post
-touch --no-create %{_datadir}/icons/hicolor || :
-touch --no-create %{_kf6_datadir}/oxygen ||:
-
-%postun
-if [ $1 -eq 0 ] ; then
-touch --no-create %{_datadir}/icons/hicolor || :
-touch --no-create %{_kf6_datadir}/oxygen ||:
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- if [ -f %{_datadir}/icons/hicolor/index.theme ]; then
- gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
- fi
- if [ -f %{_kf6_datadir}/Fedora-KDE/index.theme ]; then
- gtk-update-icon-cache --quiet %{_kf6_datadir}/Fedora-KDE/index.theme || :
- fi
-fi
-fi
-
-%posttrans
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- if [ -f %{_datadir}/icons/Fedora/index.theme ]; then
- gtk-update-icon-cache --quiet %{_datadir}/icons/Fedora || :
- fi
- if [ -f %{_kf6_datadir}/oxygen/index.theme ]; then
- gtk-update-icon-cache --quiet %{_kf6_datadir}/oxygen/index.theme || :
- fi
-fi
-
-
%files
%license COPYING
%doc README
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-06 14:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 14:50 [rpms/generic-logos] rawhide: Drop obsolete scriptlets (replaced by file triggers now)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox