commit 13058337e7927c1fdb4d4880d9b2e26bd360d0f9
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Thu Sep 13 00:14:45 2018 +0200
Remove obsolete scriptlets
kisslicer.spec | 14 --------------
1 file changed, 14 deletions(-)
---
diff --git a/kisslicer.spec b/kisslicer.spec
index 6a3e017..0395682 100644
--- a/kisslicer.spec
+++ b/kisslicer.spec
@@ -124,20 +124,6 @@ for RES in $(ls hicolor); do
file hicolor/$RES/apps/kisslicer.png | grep "$(echo $RES | sed 's/x/ x
/')"
done
-%post
-/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-/usr/bin/update-desktop-database &>/dev/null || :
-
-%postun
-if [ $1 -eq 0 ] ; then
- /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-/usr/bin/update-desktop-database &>/dev/null || :
-
-%posttrans
-/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-update-desktop-database &>/dev/null || :
%files
%doc KISSlicer_quick_reference_EN.pdf
Show replies by date