commit ea2fe9d69d3c17e6de6deea7b37f4afd6776747f
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 05:57:55 2019 +0100
Remove obsolete scriptlets
References:
https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
chromium.spec | 13 -------------
1 file changed, 13 deletions(-)
---
diff --git a/chromium.spec b/chromium.spec
index ba0b240..d182531 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1605,19 +1605,6 @@ if selinuxenabled; then
restorecon -R -v %{chromium_path}/%{chromium_browser_channel}
fi
-touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-update-desktop-database &> /dev/null || :
-
-%postun
-if [ $1 -eq 0 ] ; then
- touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-update-desktop-database &> /dev/null || :
-
-%posttrans
-gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
%pretrans -n chrome-remote-desktop -p <lua>
path = "/etc/opt/chrome/native-messaging-hosts"
st = posix.stat(path)