commit 4cb8abe70a160b82c0d53de090faa85c14596541
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Thu Sep 13 00:14:38 2018 +0200
Remove obsolete scriptlets
netfabb-basic.spec | 16 ----------------
1 file changed, 16 deletions(-)
---
diff --git a/netfabb-basic.spec b/netfabb-basic.spec
index ae33575..928611f 100644
--- a/netfabb-basic.spec
+++ b/netfabb-basic.spec
@@ -101,22 +101,6 @@ cp -p icons/%{name}48.png
%{buildroot}%{_datadir}/pixmaps/%{name}.png
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
-%post
-/sbin/ldconfig
-/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-/usr/bin/update-desktop-database &>/dev/null || :
-
-%postun
-/sbin/ldconfig
-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 README LICENSE Examples
Show replies by date