Comment
This commit is contained in:
parent
af85cac751
commit
f5fda352d6
|
@ -8385,6 +8385,7 @@ function create_upgrade_script {
|
||||||
fi
|
fi
|
||||||
if grep -Fxq "install_gogs" $COMPLETION_FILE; then
|
if grep -Fxq "install_gogs" $COMPLETION_FILE; then
|
||||||
echo '' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
echo '' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||||
|
echo '# gogs' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||||
echo 'cd /home/git/go/src/github.com/gogits/gogs' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
echo 'cd /home/git/go/src/github.com/gogits/gogs' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||||
echo 'git stash' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
echo 'git stash' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||||
echo 'git stash drop' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
echo 'git stash drop' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
|
||||||
|
|
Loading…
Reference in New Issue