updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / android-sdk / android-sdk.install
blobecca2f5723a4cb430afc3562118a5361f85a4e67
1 post_install() {
2     #getent group android >/dev/null 2>&1 ||  usr/sbin/groupadd -g 420 android &>/dev/null
3     getent group android >/dev/null 2>&1 && usr/sbin/groupdel android >/dev/null 2>&1
4     echo You need to source /etc/profile or relogin to add the Android SDK tools to your path.
5     echo The android group has been removed, install android packages as root.
6     #echo Add yourself to the android group so that the sdk can download and update various additional packages.
9 post_upgrade() {
10     post_install
13 post_remove() {
14     #if getent group android >/dev/null 2>&1; then
15         #groupdel android
16     #fi
17     true