Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install.sh #3

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/data/data/com.termux/files/usr/bin/bash
prefix=/data/data/com.termux/files
#Downloading the req dependencies to run a script without error
#################################
# Project : T-Megapackage #
Expand All @@ -7,9 +8,9 @@
clear

#updating terminal
echo
echo ""
echo -e "\e[32m[\e[34m*\e[32m]\e[36m Installing T-Mega \e[m "
echo
echo ""
apt-get update -yq --silent
apt-get upgrade -y
apt-get install python -y
Expand All @@ -18,22 +19,22 @@ pip install install lolcat
gem install lolcat
pkg install ncurses-utils -y

cp -R m-pkg /data/data/com.termux/files/usr/bin
echo
cp -R m-pkg $prefix/usr/bin
echo ""

echo -en "\e[92m Do you wish to see a practical video on it (y/n)? \e[m "
read answer
if [ "$answer" != "${answer#[Yy]}" ] ;then
am start -a android.intent.action.VIEW -d https://www.youtube.com/channel/UCv80Btv_4kn_9b-GVgPIwMg >> /dev/null 2>&1
else
echo
echo ""
fi

echo
echo ""
echo -e "\e[33m Run \e[32m m-pkg \e[33m From anywhere to install megapackages tools \e[m "
echo
echo ""
cd $HOME
rm -rf Termux-Megapackage
echo
echo ""
cd $HOME
exec bash