Take and release wake lock
This commit is contained in:
parent
884d08af5d
commit
3aafb44310
7
build.sh
7
build.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user