From c20f5102eb908260b41a5576ac145e99bdade88e Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 3 Feb 2017 13:08:45 +0100 Subject: [PATCH] generate-libreoffice-srcs: support jars as well as tarballs --- .../office/libreoffice/generate-libreoffice-srcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py b/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py index 3d56c74e3ab..f77829da340 100755 --- a/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py +++ b/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.py @@ -293,7 +293,7 @@ def interpret_tarball_with_md5(x): 'md5': '48d647fbd8ef8889e5a7f422c1bfda94', 'brief': False}} """ - match = {'key': re.match('^(.*)_TARBALL$', x['key']), + match = {'key': re.match('^(.*)_(TARBALL|JAR)$', x['key']), 'value': re.match('(?P[0-9a-fA-F]{32})-(?P.+)$', x['value'])}