automaint: minor fixes

This commit is contained in:
Silvan Calarco 2017-06-19 14:48:35 +02:00
parent 68bacbc599
commit e53a62198a

View File

@ -188,7 +188,7 @@ for p in ${allpkgs}; do
done
[ "$pkg_name" ] || {
echo "$p: not present in $DEST_REPOSITORY; skipping."
[ "$VERBOSE" ] && echo "$p: not present in $DEST_REPOSITORY; skipping."
continue
}
@ -205,7 +205,7 @@ for p in ${allpkgs}; do
done
[ "$pkg_name" ] || {
echo "$p: not present in $SOURCE_REPOSITORY; skipping."
[ "$VERBOSE" ] && echo "$p: not present in $SOURCE_REPOSITORY; skipping."
continue
}
@ -245,6 +245,10 @@ for p in ${allpkgs}; do
# e.g. SVER=0.11.2 -> VER=0.11.2.3
update_type="minor"
else
if [[ 64#${VER[i-1]} -gt 64#89 && 64#${SVER[i-1]} -lt 64#80 ]]; then
[ "$VERBOSE" ] && echo "$p: dubious beta upgrade from ${SVER[i-1]} to ${VER[i-1]}; skipping."
continue
fi
echo "$p: UNEXPECTED CASE - CHECK CODE; skipping."
continue
fi