abradley/dpkg-diffs — pull request #1 by pjkundert (2012-12-07 20:58:50+00:00)
Title: Force removal of temporary directory, in case it contains read-only files

If the target dpkg contains read-only files, the command fails when attempting to clean up its temporary directory. Since we create this directory, it should be no problem to do an 'rm -rf "$tempDir"', instead of an 'rm -r "$tempDir"'. This will prevent the command failure.