mirror of
https://github.com/YunoHost-Apps/ztncui_ynh.git
synced 2024-09-03 18:06:05 +02:00
commit
6879e7097d
7 changed files with 16 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
nodejs_version=16
|
||||
nodejs_version=14
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="g++"
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue