Marcel Telka
2022-10-31 4988ab2090b3ad5c5e4548e725de8e3814bc2d3c
tools/perl-integrate-module: check obsoletion against latest known version not the installed one

1 files modified
2 ■■■ changed files
tools/perl-integrate-module 2 ●●● patch | view | raw | blame | history
tools/perl-integrate-module
@@ -473,7 +473,7 @@
OV_PLURAL=
for o in $(echo $OBSOLETE $PERL_VERSIONS_OBSOLETING | LC_ALL=C sort -u) ; do
    PLV=${o//.}
    FMRI=$(pkg list -avH "$COMPONENT_FMRI-$PLV" 2>/dev/null | egrep -v '(o|r)$' | sed -e 's|^.*\('"$COMPONENT_FMRI"'\)|\1|g' -e 's/:[^:]*$//g' -e 's/\(-[^-]*\)$/,5.11\1/g')
    FMRI=$(pkg list -nvH "$COMPONENT_FMRI-$PLV" 2>/dev/null | egrep -v '(o|r)$' | sed -e 's|^.*\('"$COMPONENT_FMRI"'\)|\1|g' -e 's/:[^:]*$//g' -e 's/\(-[^-]*\)$/,5.11\1/g')
    [[ -n "$FMRI" ]] || continue
    FMRI_H=${FMRI%.*}
    FMRI_T=${FMRI##*.}