From 604145f71329eb29b6b3a4986228928434c7bbff Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 2 Jan 2021 14:41:54 +0100 Subject: [PATCH 1/2] Avoid to buid frontend bundle --- conf/app.src | 4 ++-- scripts/install | 1 - scripts/upgrade | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/conf/app.src b/conf/app.src index e92e97a..7eea66d 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/hedgedoc/hedgedoc/archive/1.7.1.tar.gz -SOURCE_SUM=6941dc631dca0fbb42de5c0379f5b5eab0cd2e0084ed1edeb431d53f4a38a55a +SOURCE_URL=https://github.com/hedgedoc/hedgedoc/releases/download/1.7.1/hedgedoc-1.7.1.tar.gz +SOURCE_SUM=17e7092430b36c96059309fdd03f9244f6a13611e28ced153d9dbf97e109d5ba SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/scripts/install b/scripts/install index 1b18fb5..238fe43 100644 --- a/scripts/install +++ b/scripts/install @@ -123,7 +123,6 @@ ynh_script_progression --message="Building HedgeDoc... (this will take some time pushd "$final_path" || ynh_die ynh_use_nodejs bin/setup - ynh_exec_warn_less yarn run build popd || ynh_die #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 716e32e..275b0ee 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -126,7 +126,6 @@ then pushd "$final_path" || ynh_die ynh_use_nodejs bin/setup - ynh_exec_warn_less yarn run build popd || ynh_die fi From 5d106df1e7e28544c5d2ebe6f0aecf83c4d952f2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 2 Jan 2021 14:55:20 +0100 Subject: [PATCH 2/2] Remove PostegrSQL warning --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 238fe43..5d7cc84 100644 --- a/scripts/install +++ b/scripts/install @@ -65,7 +65,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port #================================================= ynh_script_progression --message="Installing dependencies..." --weight=20 -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies # Install Nodejs ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version diff --git a/scripts/restore b/scripts/restore index f90d580..b465605 100644 --- a/scripts/restore +++ b/scripts/restore @@ -83,7 +83,7 @@ chown -R $app:$app $final_path ynh_script_progression --message="Reinstalling dependencies..." --weight=6 # Define and install dependencies -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies # Install Nodejs ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version diff --git a/scripts/upgrade b/scripts/upgrade index 275b0ee..23093be 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -98,7 +98,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Upgrading dependencies..." --weight=10 -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies # Install Nodejs ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version