diff --git a/src/freedombone b/src/freedombone index 1d8e1fe6..dddd895b 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8240,7 +8240,7 @@ function install_gogs { cd gogs # install - go get ./... + go get -u ./... go build if [ ! "$?" = "0" ]; then exit 546750 @@ -10184,6 +10184,7 @@ function create_upgrade_script { echo 'chown -R git:git /home/git' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME echo 'chmod 600 /home/git/go/src/github.com/gogits/gogs/custom/conf/app.ini' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME echo 'export GOPATH=/home/git/go' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME + echo 'go get -u ./...' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME echo 'go build' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME echo 'systemctl restart gogs' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME echo 'systemctl daemon-reload' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME