diff --git a/repo/generate-repo-page.sh b/repo/generate-repo-page.sh index 1bc9851..99238d7 100755 --- a/repo/generate-repo-page.sh +++ b/repo/generate-repo-page.sh @@ -120,6 +120,10 @@ for PACKAGE in ${PACKAGES[@]}; do fi PACKAGE_DATA=$(has_data_package "${PACKAGE}" && echo "${PACKAGE}-data" || echo) + if [ -z "${PACKAGE_DATA}" ] && echo "${PACKAGE}" | grep -q -- \-; then + PACKAGE_MAIN=$(echo "${PACKAGE}" | cut -d '-' -f 1) + PACKAGE_DATA=$(has_data_package "${PACKAGE_MAIN}" && echo "${PACKAGE_MAIN}-data" || echo) + fi PACKAGE_DESCRIPTION=$(echo "${PACKAGE_DETAILS}" | awk 'sub("Description: ","")') PACKAGE_PROVIDES=$(echo "${PACKAGE_DETAILS}" | awk 'sub("Provides: ","")') PACKAGE_SIZE=$(echo "${PACKAGE_DETAILS}" | grep -v "Installed-Size:" | awk 'sub("Size: ","")') diff --git a/repo/screenshots/cardinal.png b/repo/screenshots/cardinal.png new file mode 100644 index 0000000..961f6f3 Binary files /dev/null and b/repo/screenshots/cardinal.png differ