xbps-src: [checkvers] improve output, show outdated pkgs in masterdir.

This commit is contained in:
Juan RP 2011-06-28 19:34:18 +02:00
parent aa2f0e69d9
commit a3ec116aeb
1 changed files with 1 additions and 5 deletions

View File

@ -51,11 +51,7 @@ check_installed_packages()
${XBPS_CMPVER_CMD} ${lpkgver} ${srcpkgver} ${XBPS_CMPVER_CMD} ${lpkgver} ${srcpkgver}
rv=$? rv=$?
if [ $rv -eq 255 ]; then if [ $rv -eq 255 ]; then
echo " ${f}: newer version -> ${srcpkgver}" echo "[$XBPS_MASTERDIR] ${f} < ${srcpkgver} [srcpkgs]"
elif [ $rv -eq 1 ]; then
echo " ${f}: sourcepkg outdated -> ${srcpkgver}"
else
echo >&2 " ${f}: already up to date."
fi fi
reset_tmpl_vars reset_tmpl_vars
done done