use ln -sf
This commit is contained in:
parent
4349ea1c38
commit
369acfbadf
1 changed files with 2 additions and 2 deletions
4
debian/rake-tasks.sh
vendored
4
debian/rake-tasks.sh
vendored
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue