diff --git a/src/freedombone b/src/freedombone index a10ad879..ea33a41f 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8592,6 +8592,7 @@ function create_upgrade_script { echo 'git pull' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME 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 'GOPATH=/home/git/go' >> /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 fi