diff -Nru timgm6mb-soundfont-1.3/debian/changelog timgm6mb-soundfont-1.3/debian/changelog --- timgm6mb-soundfont-1.3/debian/changelog 2020-08-21 19:51:35.000000000 +0000 +++ timgm6mb-soundfont-1.3/debian/changelog 2021-03-12 19:43:31.000000000 +0000 @@ -1,3 +1,10 @@ +timgm6mb-soundfont (1.3-5) unstable; urgency=medium + + * Team upload. + * Avoid rare error in prerm (Closes: #984592) + + -- Thorsten Glaser Fri, 12 Mar 2021 20:43:31 +0100 + timgm6mb-soundfont (1.3-4) unstable; urgency=medium * Team upload. diff -Nru timgm6mb-soundfont-1.3/debian/timgm6mb-soundfont.prerm timgm6mb-soundfont-1.3/debian/timgm6mb-soundfont.prerm --- timgm6mb-soundfont-1.3/debian/timgm6mb-soundfont.prerm 2020-07-07 16:34:50.000000000 +0000 +++ timgm6mb-soundfont-1.3/debian/timgm6mb-soundfont.prerm 2021-03-12 19:43:29.000000000 +0000 @@ -10,6 +10,9 @@ update-alternatives --remove default-GM.sf2 \ /usr/share/sounds/sf2/TimGM6mb.sf2 # remove directories if they were created in postinst + # mkdir -p them first so that rmdir doesn’t fail if they don’t exist + mkdir -p \ + /usr/share/sounds/sf2 /usr/share/sounds/sf3 rmdir --ignore-fail-on-non-empty \ /usr/share/sounds/sf2 /usr/share/sounds/sf3 ;;