mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
vagrant: do not disable-clean for musl
This commit is contained in:
parent
8bd45387c4
commit
8eb32de671
1 changed files with 7 additions and 3 deletions
|
@ -20,8 +20,13 @@ post_extract() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
local dc=yes
|
||||||
|
# https://build.voidlinux.org/builders/x86_64-musl_builder/builds/50813/steps/shell_3/logs/stdio
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
|
dc=
|
||||||
|
fi
|
||||||
GEM_PATH=$DESTDIR/usr/lib/vagrant GEM_HOME="$GEM_PATH" \
|
GEM_PATH=$DESTDIR/usr/lib/vagrant GEM_HOME="$GEM_PATH" \
|
||||||
gem install vagrant-$version.gem --no-document -- --disable-clean
|
gem install vagrant-$version.gem --no-document -- ${dc:+--disable-clean}
|
||||||
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
||||||
|
@ -57,6 +62,5 @@ do_install() {
|
||||||
rm -r ${DESTDIR}/usr/lib/vagrant/cache
|
rm -r ${DESTDIR}/usr/lib/vagrant/cache
|
||||||
|
|
||||||
# XXX: work around bad permissions
|
# XXX: work around bad permissions
|
||||||
chmod 644 ${DESTDIR}/usr/lib/vagrant/gems/google-protobuf-*/lib/google/protobuf.rb \
|
chmod -R go-wx ${DESTDIR}/usr/lib/vagrant/gems/google-protobuf-*/lib/google
|
||||||
${DESTDIR}/usr/lib/vagrant/gems/google-protobuf-*/lib/google/protobuf/*.rb
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue