From 5c561163133e61dc311355389556e2b2d0664c13 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 11 Dec 2011 18:49:46 -0500 Subject: mv ./~aur/* ./~lukeshu --- ~lukeshu/android-udev/android-udev.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ~lukeshu/android-udev/android-udev.install (limited to '~lukeshu/android-udev/android-udev.install') diff --git a/~lukeshu/android-udev/android-udev.install b/~lukeshu/android-udev/android-udev.install new file mode 100644 index 000000000..c861f2b70 --- /dev/null +++ b/~lukeshu/android-udev/android-udev.install @@ -0,0 +1,15 @@ +post_install() { +getent group adbusers >> /dev/null || /usr/sbin/groupadd adbusers || return 1 +/bin/cat << EOF +===> In order to use adb, you have to be in the 'adbusers' group +===> For that, use: gpasswd -a USERNAME adbusers +EOF +} + +post_upgrade() { +post_install +} + +post_remove() { +getent group adbusers &>/dev/null && /usr/sbin/groupdel adbusers +} -- cgit v1.2.3