Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
3f6ddb7408
commit
6b5ac14234
@ -146,18 +146,6 @@ rm -f %{buildroot}/lib/udev/tascam_fw.usermap
|
||||
mkdir -p %{buildroot}/lib/udev/rules.d
|
||||
install -m 644 %{SOURCE1} %{buildroot}/lib/udev/rules.d
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/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
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%if 0%{!?_without_tools:1}
|
||||
%files
|
||||
%dir %{_pkgdocdir}
|
||||
|
Loading…
Reference in New Issue
Block a user