1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cesium_ynh.git synced 2024-09-03 18:06:25 +02:00

Update helper-update-manifest-readme

Make CHECKSUM working
This commit is contained in:
Thatoo 2019-06-10 10:55:34 +02:00 committed by GitHub
parent 344bac87e7
commit 19ae52cf34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
url=$(curl -s https://api.github.com/repos/duniter/cesium/releases/latest | grep "browser_" | grep "web" | head -1 | cut -d\" -f4)
wget -nc --quiet $url -P /tmp
CHECKSUM=$sha256sum /tmp/cesium-*-web.zip
CHECKSUM=$(sudo sha256sum /tmp/cesium-*-web.zip | head -c 64)
sed -i "s/SOURCE_SUM=.*/SOURCE_SUM=${CHECKSUM}/" /conf/app.src
PACKAGE_VERSION=