Skip to content

Commit 108f142

Browse files
modified: install.sh
added pulseaudio to requirement and some minor code
1 parent e235253 commit 108f142

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

install.sh

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,35 @@ function _implant_()
1212
if [ -f hippo.sh ]; then
1313
if ! [ -f "${DISTRO_PLUGINS_DIR}"/hippo.sh ]; then
1414
mv -v hippo.sh "${DISTRO_PLUGINS_DIR}"
15+
echo -e "Implant done......."
16+
echo -e "- Now you can install ubuntu by running \e[1;32mproot-distro install hippo\e[0m"
1517
else
1618
echo "Looks like \"hippo\" is already installed..."
19+
echo -e "you can install ubuntu by running \e[1;32mproot-distro install hippo\e[0m"
20+
echo -e "you can login to ubuntu by running \e[1;32mproot-distro login hippo\e[0m"
21+
1722
fi
1823
return 0
1924
else
2025
return 1
2126
fi
2227
}
28+
############################
29+
#
30+
# REQUIREMENTS
31+
32+
apt update; apt upgrade -y
2333

2434
if ! command -v proot-distro; then
2535
apt install proot-distro -y
2636
fi
37+
if ! command -v pulseaudio; then
38+
apt install pulseaudio -y
39+
fi
2740

41+
########################
2842
if _implant_; then
29-
echo -e "Implant done......."
30-
echo -e "- Now you can install ubuntu by running \e[1;32mproot-distro install hippo \e[0m"
43+
return 0
3144
else # this wont happen (mostly)
3245
echo ":( \e[32m error...\e[0m Please create a issue at \e[1;32mhttps://github.com/SaicharanKandukuri/ubuntu-on-android/issues\e[0m to resolve "
33-
fi
46+
fi

0 commit comments

Comments
 (0)