Replace APT hook with a dpkg trigger
Any package installing/updating a binary in the PATH will now trigger kali-menu's postint to run update-kali-menu. This avoids mucking with dpkg's lock file to wait its completion. The downside is that it might run a few more times but it will also avoid kludges in live-build where we try to wait until it has been run.
Showing with 14 additions and 44 deletions