@@ -18,7 +18,7 @@ HIPPO_SCRIPT_FILE="${SCRIPT_DIR}/udroid.sh"
1818# SOCIAL_PLATFORM="\e[34mhttps://discord.gg/TAqaG5sEfW"
1919
2020# HIPPO_DIR = "${INSTALL_FOLDER}/${HIPPO_DEFAULT}"
21- # HIPPO_SCRIPT_FILE="${SCRIPT_DIR}/hippo .sh"
21+ # HIPPO_SCRIPT_FILE="${SCRIPT_DIR}/udroid .sh"
2222
2323# * Usefull functions
2424# die() exit with code 1 with printing given string
@@ -81,7 +81,7 @@ function __upgrade() {
8181 fi
8282
8383 mkdir -p " ${CACHE_ROOT} "
84- axel -o " ${CACHE_ROOT} " /version https://raw.githubusercontent.com/RandomCoderOrg/fs-manager-hippo /main/version >> /dev/null || {
84+ axel -o " ${CACHE_ROOT} " /version https://raw.githubusercontent.com/RandomCoderOrg/fs-manager-udroid /main/version >> /dev/null || {
8585 die " error"
8686 }
8787
@@ -111,7 +111,7 @@ function __upgrade() {
111111
112112function start_upgrade() {
113113 mkdir -p " ${CACHE_ROOT} "
114- axel -o " ${CACHE_ROOT} " /upgrade.sh https://raw.githubusercontent.com/RandomCoderOrg/fs-manager-hippo /main/etc/scripts/upgrade_patch/upgrade.sh >> /dev/null || {
114+ axel -o " ${CACHE_ROOT} " /upgrade.sh https://raw.githubusercontent.com/RandomCoderOrg/fs-manager-udroid /main/etc/scripts/upgrade_patch/upgrade.sh >> /dev/null || {
115115 die " Error" ; exit 1
116116 }
117117 bash -x upgrade.sh || {
@@ -127,38 +127,38 @@ function __force_uprade_hippo()
127127 if [ ! -d " $CACHE_ROOT " ]; then
128128 mkdir " $CACHE_ROOT "
129129 else
130- rm -rf " ${CACHE_ROOT} /fs-manager-hippo "
130+ rm -rf " ${CACHE_ROOT} /fs-manager-udroid "
131131 fi
132132
133- FSM_URL=" https://github.com/RandomCoderOrg/fs-manager-hippo "
133+ FSM_URL=" https://github.com/RandomCoderOrg/fs-manager-udroid "
134134
135135 if [ -z " ${BRANCH} " ]; then
136- git clone ${FSM_URL} " ${CACHE_ROOT} /fs-manager-hippo " || die " failed to clone repo"
136+ git clone ${FSM_URL} " ${CACHE_ROOT} /fs-manager-udroid " || die " failed to clone repo"
137137 else
138- git clone -b " ${BRANCH} " " ${CACHE_ROOT} /fs-manager-hippo " || die " failed to clone repo"
138+ git clone -b " ${BRANCH} " " ${CACHE_ROOT} /fs-manager-udroid " || die " failed to clone repo"
139139 fi
140140
141- if [ -f " ${CACHE_ROOT} " /fs-manager-hippo /install.sh ]; then
142- cd " ${CACHE_ROOT} " /fs-manager-hippo || die " failed to cd ..."
141+ if [ -f " ${CACHE_ROOT} " /fs-manager-udroid /install.sh ]; then
142+ cd " ${CACHE_ROOT} " /fs-manager-udroid || die " failed to cd ..."
143143 bash install.sh || die " failed to install manager..."
144144 fi
145145}
146146
147147function __help()
148148{
149- msg " hippo - termux Version ${version} by saicharankandukuri"
149+ msg " udroid - termux Version ${version} by saicharankandukuri"
150150 msg
151151 msg " A bash script to make basic action(login, vncserver) easier for ubuntu-on-android project"
152152 msg
153153 msg " Usage ${0} [options]"
154154 msg
155155 msg " Options:"
156- msg " --install To try installing hippo "
156+ msg " --install To try installing udroid "
157157 msg " --help To display this message"
158158 msg " --enable-dbus To start terminal session with dbus enabled"
159159 msg " --force-upgrade To reinstall this script of origin"
160- msg " startvnc To start hippo vncserver"
161- msg " stopvnc To stop hippo vncserver"
160+ msg " startvnc To start udroid vncserver"
161+ msg " stopvnc To stop udroid vncserver"
162162 msg " --enable-dbus-startvnc To start vnc with dbus"
163163 msg " ------------------" # links goes here
164164 msg " for additional documentation see: \e[1;34mhttps://github.com/RandomCoderOrg/ubuntu-on-android#basic-usage"
@@ -176,32 +176,32 @@ function _lauch_or_install()
176176 exit 1
177177 fi
178178 if ! __check_for_filesystem; then
179- echo -e " Installing hippo ..........."
180- if proot-distro install hippo ; then
179+ echo -e " Installing udroid ..........."
180+ if proot-distro install udroid ; then
181181 echo -e " Installation Done......\a\a" # \a triggers vibration in termux
182182 echo " Waiting..."
183183 sleep 4
184184 clear
185185 echo -e " Now You can launch your ubuntu 21.04 with command \e[1;32mhippo\e[0m"
186- echo -e " use hippo --help for more option and comming up features"
186+ echo -e " use udroid --help for more option and comming up features"
187187 fi
188188 else
189189 # ######################################################################################################
190190 # Thanks to @GxmerSam Sam Alarie, @mizzunet, @Andre-cmd-rgb for the issues randome ideas and suggestion
191191
192192
193193 pulseaudio --start --load=" module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1 >> /dev/null
194- if [[ -f " ${CACHE_ROOT} " /fs-manager-hippo /etc/scripts/vncserver/startvnc.sh ]] && [[ ! -f ${HIPPO_DIR} /bin/startvnc ]]; then
195- DIR=" ${CACHE_ROOT} /fs-manager-hippo /etc/scripts/vncserver/startvnc.sh"
194+ if [[ -f " ${CACHE_ROOT} " /fs-manager-udroid /etc/scripts/vncserver/startvnc.sh ]] && [[ ! -f ${HIPPO_DIR} /bin/startvnc ]]; then
195+ DIR=" ${CACHE_ROOT} /fs-manager-udroid /etc/scripts/vncserver/startvnc.sh"
196196 cp " ${DIR} " ${HIPPO_DIR} /bin/startvnc
197- proot-distro login hippo -- chmod 775 /bin/startvnc
197+ proot-distro login udroid -- chmod 775 /bin/startvnc
198198 fi
199- if [ -f " ${CACHE_ROOT} " /fs-manager-hippo /etc/scripts/vncserver/stopvnc.sh ] && [ ! -f ${HIPPO_DIR} /bin/stopvnc ]; then
200- DIR=" ${CACHE_ROOT} /fs-manager-hippo /etc/scripts/vncserver/stopvnc.sh"
199+ if [ -f " ${CACHE_ROOT} " /fs-manager-udroid /etc/scripts/vncserver/stopvnc.sh ] && [ ! -f ${HIPPO_DIR} /bin/stopvnc ]; then
200+ DIR=" ${CACHE_ROOT} /fs-manager-udroid /etc/scripts/vncserver/stopvnc.sh"
201201 cp " ${DIR} " ${HIPPO_DIR} /bin/stopvnc
202- proot-distro login hippo -- chmod 775 /bin/stopvnc
202+ proot-distro login udroid -- chmod 775 /bin/stopvnc
203203 fi
204- proot-distro login hippo " $@ " || warn " program exited unexpectedly..."
204+ proot-distro login udroid " $@ " || warn " program exited unexpectedly..."
205205 fi
206206}
207207__verify_bin_path
@@ -218,21 +218,21 @@ if [ $# -ge 1 ]; then
218218
219219 startvnc)
220220 if __check_for_hippo; then
221- proot-distro login hippo --no-kill-on-exit -- startvnc
221+ proot-distro login udroid --no-kill-on-exit -- startvnc
222222 else
223- echo -e " This command is supposed to run after installing hippo "
223+ echo -e " This command is supposed to run after installing udroid "
224224 echo -e " Use \e[1;32mhippo --install\e[0m install"
225- echo -e " \e[32mError:\e[0m Hippo not found"
225+ echo -e " \e[32mError:\e[0m udroid not found"
226226 fi
227227 ;;
228228
229229 stoptvnc)
230230 if __check_for_hippo; then
231- proot-distro login hippo --no-kill-on-exit -- stoptvnc
231+ proot-distro login udroid --no-kill-on-exit -- stoptvnc
232232 else
233- echo -e " This command is supposed to run after installing hippo "
233+ echo -e " This command is supposed to run after installing udroid "
234234 echo -e " Use \e[1;32mhippo --install\e[0m install"
235- echo -e " \e[32mError:\e[0m Hippo not found"
235+ echo -e " \e[32mError:\e[0m udroid not found"
236236 fi
237237 ;;
238238 * ) _lauch_or_install " $@ " ;;
0 commit comments