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