diff --git a/scripts/giteainstall.sh b/scripts/giteainstall.sh index f4cf32b..756b84e 100644 --- a/scripts/giteainstall.sh +++ b/scripts/giteainstall.sh @@ -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)