Skip to content

Instantly share code, notes, and snippets.

View tdrkDev's full-sized avatar
🤨
Trying to buy Pepsi in Russia

Roman Rihter tdrkDev

🤨
Trying to buy Pepsi in Russia
View GitHub Profile
#!/bin/bash
if [ $UID != "0" ]; then
echo "ERROR: You must run this script as root!"
exit 1
fi
echo "Install Java 8 for Android versions lower than Q? (y/N)"
echo -n "$0> "
read installJava
case "$installJava" in