diff options
author | M0Rf30 | 2017-12-16 18:56:07 +0100 |
---|---|---|
committer | M0Rf30 | 2017-12-16 18:56:07 +0100 |
commit | 9c6ee6eee1bfa6e27e34ebbe8ccb2fbd1a08314a (patch) | |
tree | ac163beba23a50ba3ff0304d9cb16347ecaf2cf5 /android-udev.install | |
parent | 64bb7fe44bab5bfbf900ea097bb92171770bfa91 (diff) | |
download | aur-9c6ee6eee1bfa6e27e34ebbe8ccb2fbd1a08314a.tar.gz |
androud-udev-git: sysusers.d compliance
Diffstat (limited to 'android-udev.install')
-rw-r--r-- | android-udev.install | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/android-udev.install b/android-udev.install index 4fd78e291655..19cf8761a4cd 100644 --- a/android-udev.install +++ b/android-udev.install @@ -1,11 +1,12 @@ post_install() { -getent group adbusers >> /dev/null || /usr/sbin/groupadd adbusers || return 1 -/bin/cat << EOF +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 } @@ -14,5 +15,8 @@ post_install } post_remove() { -getent group adbusers &>/dev/null && /usr/sbin/groupdel adbusers +cat <<EOF +==> Remember to delete your user from adbusers group. +===> gpasswd -d youruser adbusers +EOF } |