This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ ! -f /usr/bin/gcc-8 ]; then | |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
sudo apt-get update | |
sudo apt-get install -y gcc-8 g++-8 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 1000 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 1000 | |
fi | |
if [ ! -f /usr/bin/clang-12 ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "Creating /data/cleardata/cleardata.sh" | |
# Create deletion script | |
mkdir /data/cleardata | |
echo "#!/bin/sh | |
# get the available space left on the device | |
size=\$(df -k /storage/emulated/0/Android/data | tail -1 | awk '{print \$4}') |