1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ztncui_ynh.git synced 2024-09-03 18:06:05 +02:00

Merge pull request #19 from YunoHost-Apps/testing

Testing
This commit is contained in:
tituspijean 2021-11-09 00:09:27 +01:00 committed by GitHub
commit 6879e7097d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 16 additions and 6 deletions

View file

@ -20,7 +20,7 @@ It allows you to take control of your own ZeroTier network without relying on th
**Shipped version:** 20210310~ynh2
**Shipped version:** 20210310~ynh3

View file

@ -16,7 +16,7 @@ It allows you to take control of your own ZeroTier network without relying on th
**Version incluse :** 20210310~ynh2
**Version incluse :** 20210310~ynh3

View file

@ -6,7 +6,7 @@
"en": "ZeroTier network controller user interface",
"fr": "Interface utilisateur pour le contrôleur de réseau ZeroTier"
},
"version": "20210310~ynh2",
"version": "20210310~ynh3",
"url": "https://key-networks.com/ztncui",
"upstream": {
"license": "GPL-3.0-only",

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
nodejs_version=16
nodejs_version=14
# dependencies used by the app
pkg_dependencies="g++"

View file

@ -113,7 +113,7 @@ pushd $final_path/src
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install node-gyp
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install argon2-cli
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm audit fix --force
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm audit fix
popd
#=================================================

View file

@ -75,6 +75,16 @@ ynh_script_progression --message="Removing logrotate configuration..." --weight=
# Remove the app-specific logrotate config
ynh_remove_logrotate
#=================================================
# SPECIFIC REMOVE
#=================================================
# REMOVE VARIOUS FILES
#=================================================
ynh_script_progression --message="Removing various files..." --weight=1
# Remove the log files
ynh_secure_remove --file="/var/log/$app"
#=================================================
# GENERIC FINALIZATION
#=================================================

View file

@ -142,7 +142,7 @@ pushd $final_path/src
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm install node-gyp
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm install argon2-cli
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm install
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm audit fix --force
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm audit fix
popd
#=================================================