post_install() { if ! grep --silent '"0483".*"df11"' /etc/udev/rules.d/*; then echo "No udev rules found to enable non-root-user access to the md380 usb device." 1>&2 echo "To enable non-root-user access," 1>&2 echo "cd to /usr/share/editcp/ and run:" 1>&2 echo -e "\tsudo cp 99-md380.rules /etc/udev/rules.d/" 1>&2 fi } post_upgrade() { post_install $1 }