From 18fd638d5f28d7b3a66b93c689ad85472436bd5b Mon Sep 17 00:00:00 2001 From: "kay (they/it)" Date: Mon, 31 Oct 2022 13:36:06 +0100 Subject: [PATCH] update to latest --- conf/app.src | 4 ++-- scripts/_common.sh | 4 ++-- scripts/install | 2 +- scripts/upgrade | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/app.src b/conf/app.src index 3b2ad45..00efad8 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://gitlab.com/mx-puppet/discord/mx-puppet-discord/-/archive/3c82530ac4978ae206f63634a319523e5bff299a/mx-puppet-discord-master.tar.gz -SOURCE_SUM=df351ace3788ad9c2d932bcdfc0ba691cd071575d7bd0f9180fbe6976dca5c42 +SOURCE_URL=https://gitlab.com/mx-puppet/discord/mx-puppet-discord/-/archive/fd4402268e9a8b942ca632f3337702862e06d24f/mx-puppet-discord-master.tar.gz +SOURCE_SUM=b0edc4dfe9d3670eb8b53dc229a8fd7fb794ada5fe1f3d3ba4c38b54ce5ca176 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/scripts/_common.sh b/scripts/_common.sh index c60db3d..c8e896e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,10 +5,10 @@ #================================================= # Node version -NODEJS_VERSION=16 +NODEJS_VERSION=12 # dependencies used by the app (must be on a single line) -pkg_dependencies="postgresql" +pkg_dependencies="postgresql libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 4b0f3dc..34ddbc5 100755 --- a/scripts/install +++ b/scripts/install @@ -128,7 +128,7 @@ ynh_script_progression --message="Building Node dependencies..." --weight=30 pushd "$final_path" ynh_use_nodejs - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH GIT_SSH_COMMAND='ssh -o StrictHostKeyChecking=accept-new' npm install + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npx yarn -- install popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 876bd2c..d9386cd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -108,7 +108,7 @@ ynh_script_progression --message="Building Node dependencies..." --weight=3 pushd "$final_path" ynh_use_nodejs - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH GIT_SSH_COMMAND='ssh -o StrictHostKeyChecking=accept-new' npm install + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npx yarn -- install popd #=================================================