From 053c427922e197d9105c911064b7783c1efb66d6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 25 Sep 2017 11:24:14 +0200 Subject: checkVersions: correctly handle perl-perl-metrics-simple --- checkVersions | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/checkVersions b/checkVersions index 321c4c45..c87d8a32 100755 --- a/checkVersions +++ b/checkVersions @@ -334,13 +334,14 @@ then sed "s|^v\?[0-9.]*||" | \ sed 's|\.|\\\.|' ) - if [ "${pkgname}" == 'perl-chi' ] + if [ "${pkgname}" = 'perl-chi' ] || \ + [ "${pkgname}" = 'perl-perl-metrics-simple' ] then pre='s|\(\...\)$|\10|' post='s|\(\...\)0$|\1|' - elif [ "${pkgname}" == 'perl-opengl' ] || \ - [ "${pkgname}" == 'perl-array-diff' ] || \ - [ "${pkgname}" == 'perl-module-cpants-analyse' ] + elif [ "${pkgname}" = 'perl-opengl' ] || \ + [ "${pkgname}" = 'perl-array-diff' ] || \ + [ "${pkgname}" = 'perl-module-cpants-analyse' ] then pre='s|\(\...\)\(.\)|\1.\2|' post='s|\(\...\)\.\(.\)|\1\2|' -- cgit v1.2.3-54-g00ecf