Bob Mottram 10 år sedan
förälder
incheckning
f5fda352d6
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone Visa fil

@@ -8385,6 +8385,7 @@ function create_upgrade_script {
8385 8385
   fi
8386 8386
   if grep -Fxq "install_gogs" $COMPLETION_FILE; then
8387 8387
       echo '' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8388
+      echo '# gogs' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8388 8389
       echo 'cd /home/git/go/src/github.com/gogits/gogs' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8389 8390
       echo 'git stash' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8390 8391
       echo 'git stash drop' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME