case "${ACTION}" in post) # Add brother driver to sane configuration _SANE_CONF='/etc/sane.d/dll.conf' if [ "$(grep brother4 ${_SANE_CONF})" = '' ]; then echo brother4 >> ${_SANE_CONF} fi; ;; esac