Commit 55f7162eec09845f16f290cc194c2337f8be6cc5
1 parent
ebc55a3b
Exists in
master
and in
17 other branches
Symlink gitlab-rake into /usr/bin
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
package-scripts/gitlab/postinst
| @@ -12,7 +12,10 @@ function error_exit | @@ -12,7 +12,10 @@ function error_exit | ||
| 12 | exit 1 | 12 | exit 1 |
| 13 | } | 13 | } |
| 14 | 14 | ||
| 15 | -ln -sf /opt/gitlab/bin/gitlab-ctl /usr/bin || error_exit "Could not symlink gitlab-ctl in /usr/bin" | 15 | +for command in gitlab-ctl gitlab-rake |
| 16 | +do | ||
| 17 | + ln -sf /opt/gitlab/bin/$command} /usr/bin || error_exit "Could not symlink $command in /usr/bin" | ||
| 18 | +done | ||
| 16 | 19 | ||
| 17 | echo "Thank you for installing GitLab!" | 20 | echo "Thank you for installing GitLab!" |
| 18 | echo "You can configure GitLab for your system by running the following command:" | 21 | echo "You can configure GitLab for your system by running the following command:" |