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

View file

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