From 7cf523f9e17b00d84a4fd08aba12c4ffb9d3011d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 12 Jun 2014 20:36:01 +0400 Subject: [PATCH] appstream: add tools for checking Reference: http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3210 Signed-off-by: Igor Gnatenko --- tools/check-appstream.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 tools/check-appstream.sh diff --git a/tools/check-appstream.sh b/tools/check-appstream.sh new file mode 100755 index 000000000..5cb76d8c5 --- /dev/null +++ b/tools/check-appstream.sh @@ -0,0 +1,4 @@ +#!/bin/bash +exec 2>&1 +files=`find $(dirname $(readlink -f $0))/../ -regextype posix-extended -regex "^.*\.(metainfo|appdata).xml(.in)?"` +appstream-util validate ${files} -- 2.25.1