mirror of
https://github.com/YunoHost-Apps/ethercalc_ynh.git
synced 2024-09-03 18:26:36 +02:00
Cleaning up
This commit is contained in:
parent
3a59166f8f
commit
e73e1d6fd3
7 changed files with 3 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
[Unit]
|
||||
Description=Ethercalc, the collaborative spreadsheet editor.
|
||||
Description=Ethercalc: collaborative spreadsheet editor.
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"id": "ethercalc",
|
||||
"packaging_format": 1,
|
||||
"description": {
|
||||
"en": "Online web spreadsheet editor providing collaborative editing in really real-time",
|
||||
"en": "Real-time collaborative spreadsheet editor",
|
||||
"fr": "Feuille de calcul collaborative en ligne"
|
||||
},
|
||||
"version": "20201228~ynh3",
|
||||
|
@ -31,8 +31,7 @@
|
|||
"install" : [
|
||||
{
|
||||
"name": "domain",
|
||||
"type": "domain",
|
||||
"example": "domain.org"
|
||||
"type": "domain"
|
||||
},
|
||||
{
|
||||
"name": "is_public",
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
pkg_dependencies="redis-server redis-tools"
|
||||
|
||||
nodejs_version=14
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -64,8 +64,6 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
|||
#=================================================
|
||||
ynh_script_progression --message="Installing dependencies..." --weight=20
|
||||
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
||||
# Install Nodejs
|
||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ ynh_remove_systemd_config
|
|||
ynh_script_progression --message="Removing dependencies..." --weight=2
|
||||
|
||||
# Remove metapackage and its dependencies
|
||||
ynh_remove_app_dependencies
|
||||
ynh_remove_nodejs
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -76,9 +76,6 @@ chmod +x $final_path/bin/runSafe.sh
|
|||
#=================================================
|
||||
ynh_script_progression --message="Reinstalling dependencies..." --weight=1
|
||||
|
||||
# Define and install dependencies
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
||||
# Install Nodejs
|
||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||
|
||||
|
|
|
@ -106,8 +106,6 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading dependencies..." --weight=6
|
||||
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
||||
# Install Nodejs
|
||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||
|
||||
|
|
Loading…
Reference in a new issue