Ensure ownership
This commit is contained in:
parent
f5fda352d6
commit
7fe83fbf27
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue