1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ombi_ynh.git synced 2024-09-03 19:55:54 +02:00

Merge pull request #3 from YunoHost-Apps/testing

Update upgrade
This commit is contained in:
eric_G 2023-12-02 22:34:43 +01:00 committed by GitHub
commit bff1a83a6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -55,7 +55,11 @@ ram.runtime = "50M"
arm64.sha256 = "5e747fb93ef796e292a58afa89e672bb49a33b2db75c6b395150e47b4214f4f4" arm64.sha256 = "5e747fb93ef796e292a58afa89e672bb49a33b2db75c6b395150e47b4214f4f4"
armhf.url = "https://github.com/Ombi-app/Ombi/releases/download/v4.43.5/linux-arm.tar.gz" armhf.url = "https://github.com/Ombi-app/Ombi/releases/download/v4.43.5/linux-arm.tar.gz"
armhf.sha256 = "7c8fc3a079395c645c4e514e6f4987844fc45eea3ea7679948adee1ccf7f4435" armhf.sha256 = "7c8fc3a079395c645c4e514e6f4987844fc45eea3ea7679948adee1ccf7f4435"
autoupdate.strategy = "latest_github_tag"
autoupdate.strategy = "latest_github_release"
autoupdate.asset.arm64 = "linux-arm64\\.tar\\.gz"
autoupdate.asset.amd64 = "linux-x64\\.tar\\.gz"
autoupdate.asset.armhf = "linux-arm\\.tar\\.gz"
[resources.system_user] [resources.system_user]

View file

@ -29,7 +29,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep="database.json" ynh_setup_source --dest_dir="$install_dir"
fi fi
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"