Revert "Revert "xbps-src: return early if masterdir is not ready for chroot ops.""

This reverts commit c6cec1010f.
This commit is contained in:
Juan RP 2014-11-08 11:07:40 +01:00
parent fe4be1546f
commit 26682d2b86

View file

@ -155,6 +155,9 @@ chroot_sync_repos() {
chroot_handler() {
local action="$1" pkg="$2" rv=0 arg= _envargs= _chargs=
if [ -z "$CHROOT_READY" ]; then
return 0
fi
# Debian uses /run/shm instead...
if [ -d /run/shm ]; then
mkdir -p ${XBPS_MASTERDIR}/run/shm