public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/amarok] epel10: improve scriptlets
@ 2026-07-06 18:03 Aurelien Bompard
0 siblings, 0 replies; only message in thread
From: Aurelien Bompard @ 2026-07-06 18:03 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/amarok
Branch : epel10
Commit : 22a64de6c3051d6939e2d4564c26d141b717acbd
Author : Aurelien Bompard <abompard@fedoraproject.org>
Date : 2005-08-26T13:08:01+00:00
Stats : +5/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/amarok/c/22a64de6c3051d6939e2d4564c26d141b717acbd?branch=epel10
Log:
improve scriptlets
---
diff --git a/amarok.spec b/amarok.spec
index b2d079b..a03734c 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -152,18 +152,18 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/applications/kde/amarokapp.desktop
%post
/sbin/ldconfig
# update icon themes if necessary
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg || :
# needed because amarok 1.2 puts icon in hicolor
# and the RPM did not update the cache on uninstall
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
/sbin/ldconfig
# update icon themes if necessary
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg || :
fi
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-06 18:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 18:03 [rpms/amarok] epel10: improve scriptlets Aurelien Bompard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox