11#! /usr/bin/env bash
22
33# ###################################################
4- # Hippo installer Script V01 (mad installer)
4+ # UDROID installer Script V01 (mad installer)
55# A script made by @zman-1x1 saicharankandukuri
66# Copyright (c) 2021 Saicharan Kandukuri
77@@ -41,8 +41,8 @@ BIN_DIR="${TPREFIX}/usr/bin"
4141# * used when checking for hippo
4242INSTALL_FOLDER=" ${TPREFIX} /usr/var/lib/proot-distro/installed-rootfs"
4343
44- # HIPPO_DIR variable points to folder where hippo root filesystem is in
45- HIPPO_DIR =" ${INSTALL_FOLDER} /hippo "
44+ # UDROID_DIR variable points to folder where hippo root filesystem is in
45+ UDROID_DIR =" ${INSTALL_FOLDER} /udroid "
4646
4747# SCRIPT_DIR variable points to folder where plugins for proot-distro is stored
4848# * this is where hippo.sh plugin goes
@@ -51,7 +51,7 @@ SCRIPT_DIR="${TPREFIX}/usr/etc/proot-distro/"
5151
5252# HIPPO_REPO_URL & FSM_URL are github repo urls later used to clone the code
5353HIPPO_REPO_URL=" https://github.com/RandomCoderOrg/ubuntu-on-android"
54- FSM_URL=" https://github.com/RandomCoderOrg/fs-manager-hippo "
54+ FSM_URL=" https://github.com/RandomCoderOrg/fs-manager-udroid "
5555
5656# DEPENDS programs required to run Hippo
5757# * proot-distro - A proot manager tool
@@ -76,7 +76,7 @@ shout () { echo -e "${DC}-----";echo -e "${*}";echo -e "-----${RST}";:; }
7676lshout () { echo -e " ${DC} " ; echo -e " ${* } " ; echo -e " ${RST} " ; : ; }
7777
7878
79- shout " \e[1;32m Hippo Installer v${version} ${version_code_name} \n by ${installer_authors} "
79+ shout " \e[1;32m Udroid Installer v${version} ${version_code_name} \n by ${installer_authors} "
8080sleep 2
8181
8282case $( uname -m) in
@@ -119,10 +119,10 @@ function setup_and_clone()
119119 shout " Cloning code from Github........."
120120 if [ -n " ${BRANCH} " ]; then
121121 git clone -b " ${BRANCH} " ${HIPPO_REPO_URL} " ${CACHE_ROOT} /ubuntu-on-android" || die " failed to clone repo"
122- git clone -b " ${BRANCH} " ${FSM_URL} " ${CACHE_ROOT} /fs-manager-hippo " || die " failed to clone repo"
122+ git clone -b " ${BRANCH} " ${FSM_URL} " ${CACHE_ROOT} /fs-manager-udroid " || die " failed to clone repo"
123123 else
124124 git clone ${HIPPO_REPO_URL} " ${CACHE_ROOT} /ubuntu-on-android" || die " failed to clone repo"
125- git clone ${FSM_URL} " ${CACHE_ROOT} /fs-manager-hippo " || die " failed to clone repo"
125+ git clone ${FSM_URL} " ${CACHE_ROOT} /fs-manager-udroid " || die " failed to clone repo"
126126 fi
127127 lshout " Done..."
128128
@@ -133,7 +133,7 @@ function setup_and_clone()
133133# * function install
134134#
135135# 1. chech for plugin and copy to proot-distro plugin folder
136- # 2. chech for fs-manager-hippo (hippo) install script in its root directory and run it
136+ # 2. chech for fs-manager-udroid (hippo) install script in its root directory and run it
137137# 3. trigger hippo installation
138138# 4. show echo of installation complete and clear screen
139139# if anything goes wrong or any program in code fails kill the installation by calling die function
@@ -152,9 +152,9 @@ function install()
152152 cp " ${CACHE_ROOT} " /ubuntu-on-android/hippo.sh ${SCRIPT_DIR}
153153 fi
154154
155- if [ -f " ${CACHE_ROOT} " /fs-manager-hippo /install.sh ]; then
155+ if [ -f " ${CACHE_ROOT} " /fs-manager-udroid /install.sh ]; then
156156 oldpwd=" $( pwd) "
157- cd " ${CACHE_ROOT} " /fs-manager-hippo || die " failed to cd ..."
157+ cd " ${CACHE_ROOT} " /fs-manager-udroid || die " failed to cd ..."
158158 bash install.sh || die " failed to install manager..."
159159 cd " ${oldpwd} " || die " error"
160160 fi
0 commit comments