diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index 8a7ffc9..2c90b3f 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -2,7 +2,6 @@ Simple open source self-hosted file sharing solution. It's an alternative to pai ### Features: -- No accounts, no logins - Mobile friendly responsive interface - Resumable up- and downloads ([tus.io](https://tus.io)) - Set an expire-time for your upload bucket diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md index e1d1c04..11dc26b 100644 --- a/doc/DESCRIPTION_fr.md +++ b/doc/DESCRIPTION_fr.md @@ -1,6 +1,6 @@ Solution simple de partage de fichiers auto-hébergée open source. PsiTransfer est une alternative aux services payants comme Dropbox, WeTransfer. -### Caractéristiques: +### Caractéristiques : - Pas de compte, pas de connexion - Interface réactive adaptée aux mobiles diff --git a/scripts/change_url b/scripts/change_url index d4cbdc4..20af7ab 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -39,8 +39,8 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Updating a configuration file..." -domain=$new_domain -path=$new_path +#domain=$new_domain +#path=$new_path ynh_add_config --template="../conf/config.production.js" --destination="$install_dir/config.production.js" diff --git a/scripts/install b/scripts/install index c87d2b8..20e784a 100644 --- a/scripts/install +++ b/scripts/install @@ -63,7 +63,7 @@ ynh_script_progression --message="Installing $app..." --weight=1 pushd $install_dir ynh_use_nodejs - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --production + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install --production popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 8445e85..f38df22 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -73,7 +73,7 @@ ynh_script_progression --message="Upgrading $app..." --weight=1 pushd "$install_dir" ynh_use_nodejs - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --production + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install --production popd #=================================================