Update 'scripts/gogsinstall.sh'

This commit is contained in:
Sophia Atkinson 2022-10-21 03:07:36 -07:00
parent 287b38a58e
commit 1bcd73c279
1 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,4 @@
#!/bin/bash
VER="0.12.10"
while true
do
read -r -p "Would you like to install Gogs? [Y/n] " input
@ -20,7 +17,7 @@ do
done
sudo apt install wget -y
sudo wget https://dl.gogs.io/$VER/gogs_$VER_linux_amd64.tar.gz
sudo wget -O linux_amd64.tar.gz https://dl.gogs.io/0.12.10/gogs_0.12.10_linux_amd64.tar.gz
tar xvf linux_amd64.tar.gz
sudo apt install git -y
sudo adduser --system --shell /bin/bash --gecos 'Git Version Control' --group --disabled-password --home /home/git git