From 993f7cbd98a5c6e1e17002703ee8037aab37b00b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 28 Feb 2024 13:09:24 +0100 Subject: [PATCH] fix install --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index cc4e944..03103e6 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -13,8 +13,8 @@ NODEJS_VERSION=16 _git_clone_or_pull() { repo_dir="$1" - upstream_repository=$(ynh_read_manifest --key='.upstream.code') - upstream_url=$(ynh_read_manifest --key='.resources.sources.main.url') + upstream_repository=$(ynh_read_manifest --manifest_key='.upstream.code') + upstream_url=$(ynh_read_manifest --manifest_key='.resources.sources.main.url') upstream_commit=$(echo "$upstream_url" | sed -e "s|^${upstream_repository}/-/archive/\([^/]*\)/.*|\1|") if [ -d "$repo_dir" ]; then