Thanks for the investigation. The role of the user environment explains why I couldn't reproduce this. Strange that this is just being noticed now; the buggy behavior has been around for several versions and is present in wheezy.
- Bug#738951: sa-compile: post-installation scrip... Vincent Lefevre
- Bug#738951: sa-compile: post-installation ... Vincent Lefevre
- Bug#738951: sa-compile: post-installat... Noah Meyerhans
- Bug#738951: sa-compile: post-insta... Vincent Lefevre
- Processed: Re: sa-compile: post-installati... Debian Bug Tracking System
- Bug#738951: marked as done (sa-compile: po... Debian Bug Tracking System