summarylogtreecommitdiffstats
path: root/android-udev.install
blob: 6922c83178d175aa8ba8176714fa3454e5604a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
getent group adbusers >> /dev/null || /usr/sbin/groupadd adbusers || return 1
/bin/cat << EOF
===> If you have problems with printers or other devices please comment the relevant line
===> in "/usr/lib/udev/rules.d/51-android.rules"
EOF
}

post_upgrade() {
post_install
}

post_remove() {
getent group adbusers &>/dev/null && /usr/sbin/groupdel adbusers
}