fix install

This commit is contained in:
Salamandar 2024-02-28 13:12:21 +01:00
parent 993f7cbd98
commit 397bb7402e

View file

@ -13,8 +13,8 @@ NODEJS_VERSION=16
_git_clone_or_pull() {
repo_dir="$1"
upstream_repository=$(ynh_read_manifest --manifest_key='.upstream.code')
upstream_url=$(ynh_read_manifest --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