Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
rajudev
diaspora-installer
Commits
f00ccf2f
Commit
f00ccf2f
authored
Apr 28, 2017
by
Praveen Arimbrathodiyil
Browse files
truncate Gemfile.lock always
parent
a4a20bb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/postinst
View file @
f00ccf2f
...
...
@@ -47,6 +47,7 @@ https://github.com/hyperic/sigar/issues/60 ..."
echo
"Installing gems with rubygems ..."
su
${
diaspora_user
}
-s
/bin/sh
-c
"mkdir -p ~/vendor/bundle"
su
${
diaspora_user
}
-s
/bin/sh
-c
"touch ~/Gemfile.lock && truncate -s 0 ~/Gemfile.lock"
su
${
diaspora_user
}
-s
/bin/sh
-c
"bundle install --path vendor/bundle --with
${
BUNDLE_WITH
}
--without development test"
# Fix permissions (see #847286)
su
${
diaspora_user
}
-s
/bin/sh
-c
"find vendor/bundle -type f -exec chmod ga-w {}
\;
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment