summarylogtreecommitdiffstats
path: root/editcp.install
blob: e5296ef7c0a0cf1141ef2bb4fafd557503710044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
}