1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

Fix ARMv7 urls

This commit is contained in:
Josué Tille 2024-03-12 21:08:48 +01:00
parent 9c64f6301d
commit cee8fe49b9
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5
2 changed files with 4 additions and 4 deletions

View file

@ -67,8 +67,8 @@ upgrade_app() {
sed -r -i 's|version = "[[:alnum:].]{4,8}~ynh1"|version = "'${app_version}'~ynh1"|' ../manifest.toml sed -r -i 's|version = "[[:alnum:].]{4,8}~ynh1"|version = "'${app_version}'~ynh1"|' ../manifest.toml
# Update this link # Update this link
sed -r -i "s|armhf.url\s*=(.*)/releases/download/v4-[[:alnum:].]{4,8}/${app_name}_4-[[:alnum:].]{4,8}-$debian_version_name_1-bin1_armv7l.tar.gz|arm.url =\1/releases/download/v${app_version}/${app_name}_${app_version}-$debian_version_name_1-bin1_armv7l.tar.gz|" ../manifest.toml sed -r -i "s|armhf.url\s*=(.*)/releases/download/v[[:alnum:].]{4,8}/${app_name}_[[:alnum:].]{4,8}-$debian_version_name_1-bin1_armv7l.tar.gz|arm.url =\1/releases/download/v${app_version}/${app_name}_${app_version}-$debian_version_name_1-bin1_armv7l.tar.gz|" ../manifest.toml
sed -r -i "s|armhf.url\s*=(.*)/releases/download/v4-[[:alnum:].]{4,8}/${app_name}_4-[[:alnum:].]{4,8}-$debian_version_name_2-bin1_armv7l.tar.gz|arm.url =\1/releases/download/v${app_version}/${app_name}_${app_version}-$debian_version_name_2-bin1_armv7l.tar.gz|" ../manifest.toml sed -r -i "s|armhf.url\s*=(.*)/releases/download/v[[:alnum:].]{4,8}/${app_name}_[[:alnum:].]{4,8}-$debian_version_name_2-bin1_armv7l.tar.gz|arm.url =\1/releases/download/v${app_version}/${app_name}_${app_version}-$debian_version_name_2-bin1_armv7l.tar.gz|" ../manifest.toml
# Update checksum # Update checksum
sha256sum_arm_archive_deb_1=$(cat $build_result_path_deb_1/${result_prefix_name_deb_1}-bin1_armv7l-sha256.txt) sha256sum_arm_archive_deb_1=$(cat $build_result_path_deb_1/${result_prefix_name_deb_1}-bin1_armv7l-sha256.txt)

View file

@ -42,12 +42,12 @@ ram.runtime = "200M"
[resources] [resources]
[resources.sources.pgadmin_prebuilt_armv7_bookworm] [resources.sources.pgadmin_prebuilt_armv7_bookworm]
prefetch = false prefetch = false
armhf.url = "https://github.com/YunoHost-Apps/pgadmin_python_build/releases/download/v4-8.4/pgadmin_4-8.4-bookworm-bin1_armv7l.tar.gz" armhf.url = "https://github.com/YunoHost-Apps/pgadmin_python_build/releases/download/v8.4/pgadmin_8.4-bookworm-bin1_armv7l.tar.gz"
armhf.sha256 = "6fb8d4dbc92ce27f8d8cf3f47b101c440ee9a10c640517b31ba69b4daa5a1220" armhf.sha256 = "6fb8d4dbc92ce27f8d8cf3f47b101c440ee9a10c640517b31ba69b4daa5a1220"
[resources.sources.pgadmin_prebuilt_armv7_bullseye] [resources.sources.pgadmin_prebuilt_armv7_bullseye]
prefetch = false prefetch = false
armhf.url = "https://github.com/YunoHost-Apps/pgadmin_python_build/releases/download/v4-8.4/pgadmin_4-8.4-bullseye-bin1_armv7l.tar.gz" armhf.url = "https://github.com/YunoHost-Apps/pgadmin_python_build/releases/download/v8.4/pgadmin_8.4-bullseye-bin1_armv7l.tar.gz"
armhf.sha256 = "fd9aa4205bab9f0279c0b4e9672be014f150793d03224b9fd47fe1628580de6c" armhf.sha256 = "fd9aa4205bab9f0279c0b4e9672be014f150793d03224b9fd47fe1628580de6c"
[resources.system_user] [resources.system_user]