+ if [ ! -e $(script) ; then chmod 1777 debian/corekeeper/var/crash ; fi
This never does anything, because closing square bracket is missing: /bin/sh: 1: [: missing ]Also, it looks like dpkg doesn't update directory permissions on upgrade. Ugh. :-(
-- Jakub Wilk