Skip to content

Commit 09b9410

Browse files
permission fixes
1 parent 6df5c86 commit 09b9410

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

installers/android-sdk/installer.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ APK_CMD=$(which apk) # apk package manager for Alpine
1515
&& wget -q http://dl.google.com/android/repository/tools_r27.0.0-linux.zip -O android-sdk-tools.zip
1616
&& unzip -q android-sdk-tools.zip -d /opt/android-sdk
1717
&& rm -f android-sdk-tools.zip
18-
&& chmod 777 /opt/android-sdk/*
18+
&& chmod 755 /opt/android-sdk/
1919
&& echo y | android update sdk -a --no-ui --filter build-tools-25.0.2
2020
elif [ ! -z $PACMAN_CMD ]; then
2121
sudo pacman -S --needed base-devel git wget yajl
@@ -35,4 +35,6 @@ APK_CMD=$(which apk) # apk package manager for Alpine
3535
else
3636
echo "Couldn't install package"
3737
exit 1;
38-
fi
38+
fi
39+
40+
android-sdk --version

0 commit comments

Comments
 (0)