xbps-src: misc tweaks for zap and use void-packages too in chroot ops.
This commit is contained in:
parent
d9ff56e873
commit
77d1837155
2 changed files with 4 additions and 4 deletions
|
@ -167,10 +167,9 @@ chroot_handler() {
|
|||
if [ -n "$XBPS_HOSTDIR" ]; then
|
||||
_chargs+=" -H $XBPS_HOSTDIR"
|
||||
fi
|
||||
if [ ! -d $XBPS_MASTERDIR/xbps-packages ]; then
|
||||
mkdir -p $XBPS_MASTERDIR/xbps-packages
|
||||
if [ ! -d $XBPS_MASTERDIR/void-packages ]; then
|
||||
mkdir -p $XBPS_MASTERDIR/void-packages
|
||||
fi
|
||||
ln -sf xbps-packages $XBPS_MASTERDIR/void-packages
|
||||
_chargs+=" -D ${XBPS_DISTDIR}"
|
||||
|
||||
[ -z "$action" -a -z "$pkg" ] && return 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue