summarylogtreecommitdiffstats
path: root/android-udev.install
blob: 19cf8761a4cdebaf0334d27b4beb64ce39a4d977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_install() {
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"

===> Some devices (particularly MediaTek and Xiaomi) also require an entry in $HOME/.android/adb_usb.ini. 
===> You can use the adb_usb.ini under /usr/share/android/adb_usb.ini
===> Remember to add your user to adbusers group.
===> 	gpasswd -a youruser adbusers
EOF
}

post_upgrade() {
post_install
}

post_remove() {
cat <<EOF
==> Remember to delete your user from adbusers group.
===> 	gpasswd -d youruser adbusers
EOF
}