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(-) (limited to 'checkVersions') diff --git a/checkVersions b/checkVersions index 321c4c455..c87d8a325 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-70-g09d2