mirror of
https://github.com/YunoHost-Apps/hedgedoc_ynh.git
synced 2024-09-03 19:25:52 +02:00
fix
This commit is contained in:
parent
d09b5859e5
commit
301c5d89d0
4 changed files with 8 additions and 18 deletions
|
@ -1,5 +0,0 @@
|
|||
SOURCE_URL=https://github.com/hedgedoc/hedgedoc/releases/download/1.9.7/hedgedoc-1.9.7.tar.gz
|
||||
SOURCE_SUM=c9bd99c65cf45fa1d7808855b46abbfa13b24400254d8da5e81dae2965494bb3
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
|
@ -5,7 +5,7 @@ name = "HedgeDoc"
|
|||
description.en = "Collaborative editor to work on notes written in Markdown"
|
||||
description.fr = "Éditeur collaboratif pour travailler sur des notes en Markdown"
|
||||
|
||||
version = "1.9.7~ynh2"
|
||||
version = "1.9.7~ynh3"
|
||||
|
||||
maintainers = ["eric_G"]
|
||||
|
||||
|
@ -42,6 +42,13 @@ ram.runtime = "50M"
|
|||
|
||||
[resources]
|
||||
|
||||
[resources.sources]
|
||||
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/hedgedoc/hedgedoc/releases/download/1.9.7/hedgedoc-1.9.7.tar.gz"
|
||||
sha256 = "c9bd99c65cf45fa1d7808855b46abbfa13b24400254d8da5e81dae2965494bb3"
|
||||
autoupdate.strategy = "latest_github_tag"
|
||||
|
||||
[resources.ports]
|
||||
|
||||
[resources.system_user]
|
||||
|
|
|
@ -9,17 +9,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# LOAD SETTINGS
|
||||
#=================================================
|
||||
ynh_script_progression --message="Loading installation settings..." --weight=1
|
||||
|
||||
allow_anonymous=$(ynh_app_setting_get --app=$app --key=allow_anonymous)
|
||||
allow_anonymous_edits=$(ynh_app_setting_get --app=$app --key=allow_anonymous_edits)
|
||||
allow_email_registration=$(ynh_app_setting_get --app=$app --key=allow_email_registration)
|
||||
allow_free_url=$(ynh_app_setting_get --app=$app --key=allow_free_url)
|
||||
require_free_url_authentication=$(ynh_app_setting_get --app=$app --key=require_free_url_authentication)
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
#=================================================
|
||||
|
|
|
@ -70,7 +70,6 @@ ynh_script_progression --message="Building HedgeDoc... (this will take some time
|
|||
|
||||
pushd "$install_dir"
|
||||
ynh_use_nodejs
|
||||
#ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn cache clean
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build
|
||||
popd
|
||||
|
|
Loading…
Add table
Reference in a new issue