diff options
author | Erich Eckner <git@eckner.net> | 2017-09-25 11:24:14 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-25 11:24:14 +0200 |
commit | 053c427922e197d9105c911064b7783c1efb66d6 (patch) | |
tree | 28ad71afc607165b1a2d9acfaf86e9fff6e4d887 /checkVersions | |
parent | 36dc7f9929b21895bc6dce75f99f32378a042351 (diff) | |
download | archlinuxewe-053c427922e197d9105c911064b7783c1efb66d6.tar.xz |
checkVersions: correctly handle perl-perl-metrics-simple
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 9 |
1 files changed, 5 insertions, 4 deletions
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|' |