diff options
author | M0Rf30 | 2015-06-17 15:19:23 +0200 |
---|---|---|
committer | M0Rf30 | 2015-06-17 15:19:23 +0200 |
commit | 72eea1ef900bb07fb34851b64674a836ebbb1dea (patch) | |
tree | 750b9106a891d33f89ad8191cf52c89303ea2838 /android-udev.install | |
download | aur-72eea1ef900bb07fb34851b64674a836ebbb1dea.tar.gz |
Initial import
Diffstat (limited to 'android-udev.install')
-rw-r--r-- | android-udev.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/android-udev.install b/android-udev.install new file mode 100644 index 000000000000..6922c83178d1 --- /dev/null +++ b/android-udev.install @@ -0,0 +1,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 +} |