app:sanitize: execute ${GITLAB_SHELL_INSTALL_DIR}/bin/create-hooks

Refer #447
This commit is contained in:
Sameer Naik 2015-10-10 11:13:13 +05:30
parent ab1a7a7ad6
commit 6fea0f83d3

View File

@ -982,6 +982,9 @@ appSanitize () {
echo "Checking tmp directory permissions..."
chmod -R u+rwX ${GITLAB_DATA_DIR}/tmp/
chown ${GITLAB_USER}:${GITLAB_USER} -R ${GITLAB_DATA_DIR}/tmp/
echo "Creating gitlab-shell hooks..."
sudo -HEu ${GITLAB_USER} ${GITLAB_SHELL_INSTALL_DIR}/bin/create-hooks
}
appRake () {