File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ usage() {
11
11
-r deploy only the pre-receive hook
12
12
-u deploy only the post-update hook
13
13
-g enable to install in Git Lab repo custom_hooks
14
- -l enable to install in Gitolite 3.6+ repo-specific hooks
14
+ -l enable to install in Gitolite 3.6+ repo-specific hooks
15
15
-b enable to install in Stash/BitBucket Server [pre/post]-receive.d
16
16
17
17
returns status code of 0 for success, otherwise, failure
167
167
fi
168
168
169
169
if [ " ${INST_RECEIVE} " = " 1" ]; then
170
- if [ " ${BITBUCKET_REPO} " = " 1" ]; then
170
+ if [ " ${BITBUCKET_REPO} " = " 1" ]; then
171
171
# Use pre-receive.d directory and 'full' name for BitBucket
172
172
ln -sf " ${HOOKS_DIR} /pre-receive" " ${GIT_REPO} /${REAL_HOOKS_DIR} /pre-receive.d/puppet-git-hooks-pre-receive" \
173
173
&& echo " pre-receive hook deployed successfully" \
You can’t perform that action at this time.
0 commit comments