1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00

Fix final_path

This commit is contained in:
yalh76 2019-02-26 18:59:36 +01:00
parent f3dc151dba
commit 5e3e306a8f
2 changed files with 14 additions and 2 deletions

View file

@ -128,6 +128,19 @@ ynh_app_setting_set $app db_pwd $db_pwd
ynh_psql_test_if_first_run
ynh_psql_create_db $db_name $db_name $db_pwd
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_print_info "Setting up source files..."
### `ynh_setup_source` is used to install an app from a zip or tar.gz file,
### downloaded from an upstream source, like a git repository.
### `ynh_setup_source` use the file conf/app.src
ynh_app_setting_set $app final_path $final_path
# Download, check integrity, uncompress and patch the source from app.src
#ynh_setup_source "$final_path"
#=================================================
# NGINX CONFIGURATION
#=================================================

View file

@ -41,9 +41,8 @@ ynh_psql_remove_db $db_name $db_name
ynh_print_info "Removing dependencies"
# Remove metapackage and its dependencies
ynh_package_remove onlyoffice-documentserver
ynh_package_remove nodejs
ynh_remove_app_dependencies
ynh_package_remove nodejs
#=================================================
# REMOVE APP MAIN DIR