Improve messages while entering into the chroot.

--HG--
extra : convert_revision : 13354e2dc1a3c13071a9b662f74609ca79a4dd78
This commit is contained in:
Juan RP 2010-04-27 23:22:48 +02:00
parent 522437b90f
commit ff412882de

View file

@ -157,7 +157,7 @@ prepare_binpkg_repos()
if [ ! -f ${XBPS_PACKAGESDIR}/${xbps_machine}/pkg-index.plist ]; then
:
else
msg_normal "Registering local binpkg repo..."
msg_normal "Registering local repository..."
${chroot_cmd} $XBPS_MASTERDIR \
${XBPS_REPO_CMD} add /xbps_packagesdir 2>/dev/null
[ $? -eq 0 ] && touch -f \
@ -167,7 +167,7 @@ prepare_binpkg_repos()
for repo in ${XBPS_REPO_LIST}; do
${chroot_cmd} ${XBPS_MASTERDIR} ${XBPS_REPO_CMD} \
add ${repo} 2>/dev/null
[ $? -eq 0 ] && msg_normal "Registered remote repository: ${repo}"
[ $? -ne 0 ] && msg_warn "Failed to sync pkg-index from ${repo}"
done
}