mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge remote-tracking branch 'origin/dev' into bookworm
This commit is contained in:
commit
774ac64770
2 changed files with 5 additions and 5 deletions
|
@ -271,9 +271,9 @@ ynh_setup_source() {
|
|||
if ! echo "${src_sum} ${src_filename}" | ${src_sumprg} --check --status
|
||||
then
|
||||
local actual_sum="$(${src_sumprg} ${src_filename} | cut --delimiter=' ' --fields=1)"
|
||||
local actual_size="$(du -hs ${src_filename} | cut --delimiter=' ' --fields=1)"
|
||||
local actual_size="$(du -hs ${src_filename} | cut --fields=1)"
|
||||
rm -f ${src_filename}
|
||||
ynh_die --message="Corrupt source for ${src_filename}: Expected ${src_sum} but got ${actual_sum} (size: ${actual_size})."
|
||||
ynh_die --message="Corrupt source for ${src_url}: Expected sha256sum to be ${src_sum} but got ${actual_sum} (size: ${actual_size})."
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -294,9 +294,9 @@ class SourcesResource(AppResource):
|
|||
armhf.sha256 = "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865"
|
||||
|
||||
autoupdate.strategy = "latest_github_release"
|
||||
autoupdate.asset.amd64 = ".*\.amd64.tar.gz"
|
||||
autoupdate.asset.i386 = ".*\.386.tar.gz"
|
||||
autoupdate.asset.armhf = ".*\.arm.tar.gz"
|
||||
autoupdate.asset.amd64 = ".*\\.amd64.tar.gz"
|
||||
autoupdate.asset.i386 = ".*\\.386.tar.gz"
|
||||
autoupdate.asset.armhf = ".*\\.arm.tar.gz"
|
||||
|
||||
[resources.sources.zblerg]
|
||||
url = "https://zblerg.com/download/zblerg"
|
||||
|
|
Loading…
Add table
Reference in a new issue