Ensure ownership

This commit is contained in:
Bob Mottram 2015-03-19 20:10:18 +00:00
parent f5fda352d6
commit 7fe83fbf27
1 changed files with 1 additions and 0 deletions

View File

@ -8390,6 +8390,7 @@ function create_upgrade_script {
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
echo 'git pull' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME echo 'git pull' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
echo "chown -R git:git /home/git" >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
fi fi
echo 'exit 0' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME echo 'exit 0' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME