fixed debian postinst

postinst runs with set -e, so script exits when test fails.