Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
34882507d4
commit
b537654bec
1 changed files with 1 additions and 5 deletions
|
|
@ -284,21 +284,17 @@ cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf<<EOF
|
|||
%{_libdir}/%{name}%{shortver}/lib
|
||||
EOF
|
||||
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||
%post
|
||||
%if 0%{?rhel}
|
||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%if 0%{?rhel}
|
||||
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
|
||||
%endif
|
||||
|
||||
%posttrans
|
||||
%if 0%{?rhel}
|
||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue