File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ export distro_data
2222
2323DIE () { echo -e " ${@ } " ; exit 1 ; : ; }
2424GWARN () { echo -e " \e[90m${* } \e[0m" ; : ; }
25+ INFO () { echo -e " \e[32m${* } \e[0m" ; : ; }
26+ TITLE () { echo -e " \e[100m${* } \e[0m" ; : ; }
2527
2628fetch_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
You can’t perform that action at this time.
0 commit comments