From 7add5975c12f86301b43d6c43619ac1ad349706e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 12 Mar 2024 22:36:54 +0100 Subject: [PATCH] Fix auto update --- auto_update/auto_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_update/auto_update.sh b/auto_update/auto_update.sh index 8b712da..aa69497 100644 --- a/auto_update/auto_update.sh +++ b/auto_update/auto_update.sh @@ -57,7 +57,7 @@ upgrade_app() { cp "$build_result_path_deb_2/${result_prefix_name_deb_2}"-build1_requirement.txt ../conf/requirement_"$debian_version_name_2".txt # Update manifest - sed -r -i 's|version = "[[:alnum:].]{4,8}~ynh1"|version = "'${app_version}'~ynh1"|' ../manifest.toml + sed -r -i 's|version = "[[:alnum:].]{4,8}~ynh[[:alnum:].]{1,2}"|version = "'${app_version}'~ynh1"|' ../manifest.toml # Update this link sed -r -i "s|armhf.url\s*=(.*)/releases/download/v[[:alnum:].]{4,8}/matrix-synapse_[[:alnum:].]{4,8}-$debian_version_name_1-bin1_armv7l.tar.gz|arm.url =\1/releases/download/v${app_version}/matrix-synapse_${app_version}-$debian_version_name_1-bin1_armv7l.tar.gz|" ../manifest.toml