Skip to content

Commit 15bb45b

Browse files
committed
add tiny functions back
1 parent ba75a5e commit 15bb45b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/udroid/udroid.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ TERMUX="/data/data/com.termux/files"
44
D_SCRIPTS="${TERMUX}/usr/etc/proot-distro"
55
D_INSTALLED_ROOTDS="${TERMUX}/usr/var/lib/proot-distro/installed-rootfs"
66

7+
die() { echo -e "${RED}[E] ${*}${RST}";exit 1;:;}
8+
warn() { echo -e "${RED}[W] ${*}${RST}";:;}
9+
shout() { echo -e "${DS}[-] ${*}${RST}";:;}
10+
lshout() { echo -e "${DC}-> ${*}${RST}";:;}
11+
msg() { echo -e "${*} \e[0m" >&2;:;}
12+
713
_login() {
814
case $1 in
915
mate) SUITE="mate" shift ;;

0 commit comments

Comments
 (0)