Skip to content

Commit 8218c73

Browse files
title
1 parent ce1c0cc commit 8218c73

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

udroid/src/udroid.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export distro_data
2222

2323
DIE() { echo -e "${@}"; exit 1 ;:;}
2424
GWARN() { echo -e "\e[90m${*}\e[0m";:;}
25+
INFO() { echo -e "\e[32m${*}\e[0m";:;}
26+
TITLE() { echo -e "\e[100m${*}\e[0m";:;}
2527

2628
fetch_distro_data() {
2729

@@ -661,6 +663,12 @@ remove() {
661663
esac
662664
done
663665

666+
if ! reset; then
667+
TITLE "> REMOVE $arg($distro)"
668+
else
669+
TITLE "> RESET $arg($distro)"
670+
fi
671+
664672
if [[ -z $_name ]]; then
665673
parser $arg "offline"
666674
distro=$name
@@ -673,7 +681,7 @@ remove() {
673681
[[ ! -d $root_fs_path ]] && echo "ERROR: distro ($distro) not found or installed" && exit 1
674682

675683
g_spin "dot" \
676-
"setting up $distro to be removed" \
684+
"Removing $arg($distro)" \
677685
bash proot-utils/proot-uninstall-suite.sh "$root_fs_path"
678686

679687
if [[ $reset == true ]]; then

0 commit comments

Comments
 (0)