#!/bin/sh -e [ -x /usr/bin/update-menus ] && update-menus I've got a bug report that says it is. Ash bails out with exit status 1 if update-menus doesn't exist. Marcelo