From b9307b6531be860ca935248443c02382d0b384b0 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 26 Mar 2018 06:48:25 +0000 Subject: [PATCH] Update to v1.4.0 Update to v1.4.0 and show customization notes. --- install.bash | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/install.bash b/install.bash index e0bd44c..3861b18 100644 --- a/install.bash +++ b/install.bash @@ -1,5 +1,7 @@ #!/bin/bash +VER=1.4.0 + # wget -O install-gitea.bash https://git.coolaj86.com/coolaj86/gitea-installer/raw/master/install.bash; bash install-gitea.bash # or # wget -O - https://git.coolaj86.com/coolaj86/gitea-installer/raw/master/install.bash | bash @@ -12,7 +14,7 @@ sudo mkdir -p /opt/gitea/ /var/log/gitea sudo chown -R gitea:gitea /opt/gitea/ /var/log/gitea # Download and install gitea -sudo wget -O /opt/gitea/gitea https://dl.gitea.io/gitea/1.0.1/gitea-1.0.1-linux-amd64 +sudo wget -O "/opt/gitea/gitea https://dl.gitea.io/gitea/$VER/gitea-$VER-linux-amd64" sudo chmod +x /opt/gitea/gitea # Download and install the gitea.service for systemd @@ -21,4 +23,9 @@ sudo wget -O /etc/systemd/system/gitea.service https://git.coolaj86.com/coolaj86 # Start gitea sudo systemctl restart gitea +echo "" echo "Please visit http://localhost:3000/ now to finish installing gitea" +echo "" +echo "You may customize gitea" +echo " templates can be seen at https://github.com/go-gitea/gitea/tree/v$VER/templates" +echo " app.ini.sample can be seen at https://github.com/go-gitea/gitea/blob/v$VER/custom/conf/app.ini.sample"