xbps-src: make-repoidx failed for repos with only noarch pkgs.
This commit is contained in:
parent
a2fea027f7
commit
ecd20056c3
|
@ -402,6 +402,8 @@ make-repoidx)
|
|||
fi
|
||||
echo "=> Updating package index for local repository at"
|
||||
echo " $XBPS_PACKAGESDIR..."
|
||||
[ ! -d "$XBPS_PACKAGESDIR/$(uname -m)" ] && \
|
||||
mkdir -p "$XBPS_PACKAGESDIR/$(uname -m)"
|
||||
${XBPS_REPO_CMD} genindex ${XBPS_PACKAGESDIR} 2>/dev/null
|
||||
[ $? -eq 0 ] && echo "=> done."
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue