From ea2fe9d69d3c17e6de6deea7b37f4afd6776747f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 29 Jan 2019 05:57:55 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- chromium.spec | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/chromium.spec b/chromium.spec index ba0b240a..d1825318 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 path = "/etc/opt/chrome/native-messaging-hosts" st = posix.stat(path)