Update 'scripts/giteainstall.sh'

This commit is contained in:
Sophia Atkinson 2022-10-19 21:35:59 -07:00
parent 65214a796e
commit 3e3a0f7bfc
1 changed files with 0 additions and 9 deletions

View File

@ -23,15 +23,6 @@ sudo wget -O /etc/systemd/system/gitea.service https://git.oldgate.org/Sophia/th
sudo systemctl enable --now gitea
sudo systemctl start gitea
while [ "$go" != 'y' ] && [ "$go" != 'n' ]; do
read -p "Would you also like to install MariaDB? (y/n) " go
done
if [ "$go" == 'n' ]; then
exit
fi
wget -O mariadbinstall.sh https://sop.wtf/sh/mariadbinstall && bash mariadbinstall.sh
echo -e "=================================================================="
publicipaddress=$(curl -sS --connect-timeout 10 -m 60 https://ipv4.icanhazip.com/ || curl -sS --connect-timeout 10 -m 60 https://api.ipify.org )
intenalip=$(ip addr | grep -E -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | grep -E -v "^127\.|^255\.|^0\." | head -n 1)