stay in install directory and download gitea at the right place directly

This commit is contained in:
Clément 2018-05-15 10:59:08 +02:00
parent db3fabe4b2
commit def8630950
1 changed files with 1 additions and 3 deletions

View File

@ -76,9 +76,7 @@ cp -a ../conf/app.ini $final_path
config_gitea
# Install gitea
cd $final_path
wget https://github.com/go-gitea/gitea/releases/download/v1.3.3/gitea-1.3.3-linux-amd64
mv gitea-1.3.3-linux-amd64 gitea
wget https://github.com/go-gitea/gitea/releases/download/v1.3.3/gitea-1.3.3-linux-amd64 -O $final_path/gitea
# Start gitea for building mysql tables
systemctl start "$app".service