Skip to content

Commit

Permalink
update package templates
Browse files Browse the repository at this point in the history
  • Loading branch information
silentJET85 authored and flexiondotorg committed Dec 30, 2024
1 parent c870592 commit d705800
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions EXTREPO.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ ARCHS_SUPPORTED="amd64 arm64 armhf"
CODENAMES_SUPPORTED="buster bullseye bookworm trixie sid focal jammy lunar mantic noble"
get_github_releases "<user-organization>/<repository>" "latest"
if [ "${ACTION}" != prettylist ]; then
URL="$(grep "browser_download_url.*\.deb\"" "${CACHE_FILE}" | head -n1 | cut -d <delimiter> -f <field>)"
VERSION_PUBLISHED="$(echo "${URL}" | cut -d <delimiter> -f <field>)"
URL="$(grep -m 1 "browser_download_url.*\.deb\"" "${CACHE_FILE}" | cut -d <delimiter> -f <field>)"
VERSION_PUBLISHED="$(cut -d <delimiter> -f <field> <<< "${URL}")"
fi
EULA=""
PRETTY_NAME=""
Expand All @@ -165,8 +165,8 @@ ARCHS_SUPPORTED="amd64 arm64 armhf"
CODENAMES_SUPPORTED="buster bullseye bookworm trixie sid focal jammy lunar mantic noble"
get_website "<website>"
if [ "${ACTION}" != prettylist ]; then
URL="$(grep "<pattern>" "${CACHE_FILE}" | head -n1 | cut -d <delimiter> -f <field>)"
VERSION_PUBLISHED="$(echo "${URL}" | cut -d <delimiter> -f <field>)"
URL="$(grep -m 1 "<pattern>" "${CACHE_FILE}" | cut -d <delimiter> -f <field>)"
VERSION_PUBLISHED="$(cut -d <delimiter> -f <field> <<< "${URL}")"
fi
EULA=""
PRETTY_NAME=""
Expand All @@ -182,7 +182,7 @@ ARCHS_SUPPORTED="amd64 arm64 armhf"
CODENAMES_SUPPORTED="buster bullseye bookworm trixie sid focal jammy lunar mantic noble"
if [ "${ACTION}" != prettylist ]; then
URL="$(unroll_url "<website>")"
VERSION_PUBLISHED="$(echo "${URL}" | cut -d <delimiter> -f <field>)"
VERSION_PUBLISHED="$(cut -d <delimiter> -f <field> <<< "${URL}")"
fi
EULA=""
PRETTY_NAME=""
Expand Down

0 comments on commit d705800

Please sign in to comment.