xbps-src: [checkvers] improve output, show outdated pkgs in masterdir.
This commit is contained in:
parent
aa2f0e69d9
commit
a3ec116aeb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue