Commit f6d59a66 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play spravki-bk: add SHA256 checksum verification

parent b27e993c
...@@ -10,7 +10,11 @@ URL="http://www.kremlin.ru/structure/additional/12/" ...@@ -10,7 +10,11 @@ URL="http://www.kremlin.ru/structure/additional/12/"
warn_version_is_not_supported warn_version_is_not_supported
# WARNING: kremlin.ru does not support HTTPS, checksum verification is critical
# Get download URL for Astra Linux version from kremlin.ru # Get download URL for Astra Linux version from kremlin.ru
PKGURL=$(eget -q -O- http://www.kremlin.ru/structure/additional/12/ | grep -B1 "для Astra Linux" | grep -o 'href="[^"]*"' | sed 's/href="//;s/"//' | head -n 2 | tail -n 1) PKGURL=$(eget -q -O- http://www.kremlin.ru/structure/additional/12/ | grep -B1 "для Astra Linux" | grep -o 'href="[^"]*"' | sed 's/href="//;s/"//' | head -n 2 | tail -n 1)
install_pack_pkgurl # Checksum for version 3.0.4 (2025-04-01) - update when new version is released
PKGSUM="sha256:241fe546e22360b003bdc922f1e40d12bd1b87a01ce256d8b1739419718b6475"
install_pack_pkgurl "" "$PKGSUM"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment