Take and release wake lock

This commit is contained in:
Austen Adler 2018-09-21 00:18:00 -04:00
parent 884d08af5d
commit 3aafb44310

View File

@ -1,5 +1,7 @@
#!/data/data/com.termux/files/usr/bin/bash #!/data/data/com.termux/files/usr/bin/bash
set -ex set -ex
termux-wake-lock
apt update apt update
apt -y install make clang openssl-dev perl tsu wget git python python-dev gnupg dirmngr curl autoconf automake sed gettext gzip pkg-config libcrypt-dev apt -y install make clang openssl-dev perl tsu wget git python python-dev gnupg dirmngr curl autoconf automake sed gettext gzip pkg-config libcrypt-dev
@ -96,3 +98,8 @@ borg create borg_test::1 borg
borg list borg_test borg list borg_test
borg info borg_test::1 borg info borg_test::1
borg list borg_test::1 borg list borg_test::1
echo "Borg was successfully installed"
#release wakelock
termux-wake-unlock