mirror of
https://github.com/YunoHost-Apps/immich_ynh.git
synced 2024-09-03 20:36:24 +02:00
Update updater_ffmpeg-static.sh
This commit is contained in:
parent
97368242e7
commit
7dd321e13e
1 changed files with 5 additions and 5 deletions
10
.github/workflows/updater_ffmpeg-static.sh
vendored
10
.github/workflows/updater_ffmpeg-static.sh
vendored
|
@ -8,15 +8,15 @@
|
||||||
version_current=$(cat manifest.toml | tomlq -j '.version')
|
version_current=$(cat manifest.toml | tomlq -j '.version')
|
||||||
version_app=$(cat manifest.toml | tomlq -j '.version|split("~ynh")[0]')
|
version_app=$(cat manifest.toml | tomlq -j '.version|split("~ynh")[0]')
|
||||||
version_ynh=$(cat manifest.toml | tomlq -j '.version|split("~ynh")[1]')
|
version_ynh=$(cat manifest.toml | tomlq -j '.version|split("~ynh")[1]')
|
||||||
version_next="$version_app~ynh($version_ynh+1)"
|
version_next="$version_app~ynh$(($version_ynh+1))"
|
||||||
repo=$(cat manifest.toml | tomlq -j '.upstream.code|split("https://github.com/")[1]')
|
repo=$(cat manifest.toml | tomlq -j '.upstream.code|split("https://github.com/")[1]')
|
||||||
|
|
||||||
amd64_url=$(cat manifest.toml | tomlq -j '.resources.sources.ffmpeg-static.amd64.url')
|
amd64_url=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".amd64.url')
|
||||||
amd64_sha_current=$(cat manifest.toml | tomlq -j '.resources.sources.ffmpeg-static.amd64.sha256')
|
amd64_sha_current=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".amd64.sha256')
|
||||||
amd64_sha_last=$(curl --silent "$amd64_url" | sha256sum)
|
amd64_sha_last=$(curl --silent "$amd64_url" | sha256sum)
|
||||||
|
|
||||||
arm64_url=$(cat manifest.toml | tomlq -j '.resources.sources.ffmpeg-static.arm64.url')
|
arm64_url=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".arm64.url')
|
||||||
arm64_sha_current=$(cat manifest.toml | tomlq -j '.resources.sources.ffmpeg-static.arm64.sha256')
|
arm64_sha_current=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".arm64.sha256')
|
||||||
arm64_sha_last=$(curl --silent "$arm64_url" | sha256sum)
|
arm64_sha_last=$(curl --silent "$arm64_url" | sha256sum)
|
||||||
|
|
||||||
# Setting up the environment variables
|
# Setting up the environment variables
|
||||||
|
|
Loading…
Reference in a new issue