Improve messages while entering into the chroot.
--HG-- extra : convert_revision : 13354e2dc1a3c13071a9b662f74609ca79a4dd78
This commit is contained in:
parent
522437b90f
commit
ff412882de
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue