From edc00c45e27805f2aaec07cea5f45cae277c4ade Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Thu, 21 Dec 2023 19:10:06 +0100 Subject: [PATCH] Fix yarn --- manifest.toml | 4 ++++ scripts/install | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index ce45105..d0051dd 100644 --- a/manifest.toml +++ b/manifest.toml @@ -53,5 +53,9 @@ ram.runtime = "2G" [resources.apt] packages = "ffmpeg, postgresql, build-essential" + extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" + extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" + extras.yarn.packages = "yarn" + [resources.database] type = "postgresql" \ No newline at end of file diff --git a/scripts/install b/scripts/install index 8f996dc..08e3589 100755 --- a/scripts/install +++ b/scripts/install @@ -25,7 +25,6 @@ source /usr/share/yunohost/helpers ynh_script_progression --message="Installing dependencies... This might take some time." --weight=3 ynh_install_nodejs --nodejs_version=$NODEJS_VERSION -ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg" #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE