[DRE-commits] [gitlab] 02/04: use ln -sf

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Sep 12 12:39:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit 369acfbadf5a43cd7f99eb324aef9c771a8983ea
Author: Pirate Praveen <praveen at debian.org>
Date:   Tue Sep 12 17:42:58 2017 +0530

    use ln -sf
---
 debian/rake-tasks.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh
index 65820c1..59d0943 100755
--- a/debian/rake-tasks.sh
+++ b/debian/rake-tasks.sh
@@ -28,8 +28,8 @@ chmod 0700 ${gitlab_data_dir}/.gitlab_shell_secret
 echo "Installing node modules"
 runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/node_modules'
 runuser -u ${gitlab_user} -- sh -c 'npm install'
-runuser -u ${gitlab_user} -- sh -c 'ln -s /usr/lib/nodejs/exports-loader node_modules'
-runuser -u ${gitlab_user} -- sh -c 'ln -s /usr/lib/nodejs/raw-loader node_modules'
+runuser -u ${gitlab_user} -- sh -c 'ln -fs /usr/lib/nodejs/exports-loader node_modules'
+runuser -u ${gitlab_user} -- sh -c 'ln -fs /usr/lib/nodejs/raw-loader node_modules'
 runuser -u ${gitlab_user} -- sh -c 'rm -rf node_modules/webpack'
 runuser -u ${gitlab_user} -- sh -c 'NODE_PATH=/usr/share/gitlab/node_modules webpack --config config/webpack.config.js'
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list