From c9b411db58cb1c1b3805b3034099669285a9377c Mon Sep 17 00:00:00 2001 From: Marcus Minhorst Date: Mon, 4 May 2026 22:50:13 -0400 Subject: [PATCH] Corrected metainfo path According to the docs, the correct path is /usr/share/metainfo/%{id}.metainfo.xml, not /usr/share/metainfo/%{id}appdata.xml --- appdir-lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appdir-lint.sh b/appdir-lint.sh index fac57a35..8e6953f8 100644 --- a/appdir-lint.sh +++ b/appdir-lint.sh @@ -123,7 +123,7 @@ num_keys_fatal Categories # Find the relevant appdata.xml file; # according to ximion, usr/share/appdata is a legacy path replaced by usr/share/metainfo -APPDATA=$(ls "${APPDIR}"/usr/share/metainfo/*appdata.xml 2>/dev/null | head -n 1) # TODO: Handle more than one better +APPDATA=$(ls "${APPDIR}"/usr/share/metainfo/*.metainfo.xml 2>/dev/null | head -n 1) # TODO: Handle more than one better if [ -z "$APPDATA" ] ; then APPDATA=$(ls "${APPDIR}"/usr/share/appdata/*appdata.xml 2>/dev/null | head -n 1) # TODO: Handle more than one better fi