diff --git a/macros.shared-mime-info b/macros.shared-mime-info index a0d0c45..469353a 100644 --- a/macros.shared-mime-info +++ b/macros.shared-mime-info @@ -30,7 +30,6 @@ fi %mime_database_postun() \ if [ $1 -eq 0 ]; then \ if test -x %{_bindir}/update-mime-database; then \ - %{_bindir}/update-mime-database "${MIME_DIR}" || true \ %if "x%1" != "x%%1" \ %{_bindir}/update-mime-database "%1" || true \ %else \ diff --git a/shared-mime-info.changes b/shared-mime-info.changes index 24c117f..51508c8 100644 --- a/shared-mime-info.changes +++ b/shared-mime-info.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 18 08:41:44 CET 2011 - vuntz@opensuse.org + +- Fix %mime_database_postun to not call update-mime-database twice. + ------------------------------------------------------------------- Tue Dec 14 19:07:26 CET 2010 - vuntz@opensuse.org