Skip to content

Commit

Permalink
refactor: restore consistent use of CACHE_FILE to definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
philclifford authored and flexiondotorg committed Dec 30, 2024
1 parent 905db15 commit 5630463
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 01-main/packages/tixati
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DEFVER=1
get_website "https://www.tixati.com/linux"
if [ "${ACTION}" != "prettylist" ]; then
URL=$(grep -m 1 -o 'http.*amd64\.deb\.asc' /var/cache/deb-get/tixati.html | sed 's/.asc//')
URL=$(grep -m 1 -o 'http.*amd64\.deb\.asc' "${CACHE_FILE}" | sed 's/.asc//')
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'_' -f2)"
fi
PRETTY_NAME="Tixati"
Expand Down
2 changes: 1 addition & 1 deletion 01-main/packages/veracrypt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ case ${HOST_ARCH} in
esac
get_website "https://www.veracrypt.fr/en/Downloads.html"
if [ "${ACTION}" != "prettylist" ]; then
VERSION_PUBLISHED=$(grep -Eo '/Linux: Version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ ' /var/cache/deb-get/veracrypt.html | cut -d\ -f3)
VERSION_PUBLISHED=$(grep -Eo '/Linux: Version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ ' "${CACHE_FILE}" | cut -d\ -f3)

URL=$(unroll_url "https://launchpad.net/veracrypt/trunk/${VERSION_PUBLISHED}/+download/veracrypt-${VERSION_PUBLISHED}-${UPSTREAM_ID^}-${UPSTREAM_RELEASE}-${HOST_ARCH}.deb\"")
fi
Expand Down
2 changes: 1 addition & 1 deletion 01-main/packages/veracrypt-console
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ case ${HOST_ARCH} in
esac
get_website "https://www.veracrypt.fr/en/Downloads.html"
if [ "${ACTION}" != "prettylist" ]; then
VERSION_PUBLISHED=$(grep -Eo '/Linux: Version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ ' /var/cache/deb-get/veracrypt.html | cut -d\ -f3)
VERSION_PUBLISHED=$(grep -Eo '/Linux: Version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ ' "${CACHE_FILE}" | cut -d\ -f3)

URL=$(unroll_url "https://launchpad.net/veracrypt/trunk/${VERSION_PUBLISHED}/+download/veracrypt-console-${VERSION_PUBLISHED}-${UPSTREAM_ID^}-${UPSTREAM_RELEASE}-${HOST_ARCH}.deb\"")
fi
Expand Down

0 comments on commit 5630463

Please sign in to comment.