Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
i9cf
Igor Gnatenko 6 years ago
parent 4b08cb2995
commit fb2e6d98ff

@ -232,21 +232,6 @@ desktop-file-install \
%find_lang %{name}
%post
touch --no-create %{_datadir}/%{name}/mime/packages &> /dev/null
exit 0
%postun
[ $1 -eq 0 ] || exit 0
touch --no-create %{_datadir}/%{name}/mime/packages &> /dev/null
update-mime-database %{?fedora:-n} %{_datadir}/%{name}/mime &> /dev/null
exit 0
%posttrans
update-mime-database %{?fedora:-n} %{_datadir}/%{name}/mime &> /dev/null
exit 0
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS

Loading…
Cancel
Save