From 8a527c8a87b9ab9912fd81b0c94ce61c4e10bbc8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 6 Sep 2015 11:04:59 +0100 Subject: [PATCH] Fix gogs build --- src/freedombone | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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