Fix the update-hook to run in dash properly