public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/vym] epel10: update desktop/icon/mime scriptlets
@ 2026-07-20 18:59 Rex Dieter
0 siblings, 0 replies; only message in thread
From: Rex Dieter @ 2026-07-20 18:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/vym
Branch : epel10
Commit : 2f5d48f67ee32807615b366224051dda6c565eca
Author : Rex Dieter <rdieter@math.unl.edu>
Date : 2014-10-02T17:24:45-05:00
Stats : +17/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/vym/c/2f5d48f67ee32807615b366224051dda6c565eca?branch=epel10
Log:
update desktop/icon/mime scriptlets
---
diff --git a/vym.spec b/vym.spec
index 840f9c2..0754843 100644
--- a/vym.spec
+++ b/vym.spec
@@ -2,7 +2,7 @@
Name: vym
Version: 2.3.24
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: View your mind
Group: Applications/Productivity
@@ -92,22 +92,24 @@ install -p -m a+r,u+w %{SOURCE2} %{buildroot}%{_datadir}/mime/packages/vym.xml
mv %{buildroot}%{?docval}/vym.pdf .
-%post
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
-
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+touch --no-create %{_datadir}/mime/packages &> /dev/null || :
update-desktop-database &> /dev/null || :
-
+
%postun
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
+ touch --no-create %{_datadir}/mime/packages &> /dev/null || :
+ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
fi
-
update-desktop-database &> /dev/null || :
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
+
%files
%doc LICENSE.txt README.txt INSTALL.txt demos/* doc/* vym.pdf
%{_bindir}/%{name}
@@ -123,6 +125,9 @@ update-desktop-database &> /dev/null || :
%changelog
+* Thu Oct 02 2014 Rex Dieter <rdieter@fedoraproject.org> 2.3.24-3
+- update desktop/icon/mime scriptlets
+
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-20 18:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 18:59 [rpms/vym] epel10: update desktop/icon/mime scriptlets Rex Dieter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox