1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/psitransfer_ynh.git synced 2024-09-03 20:16:06 +02:00
This commit is contained in:
Éric Gaspar 2023-09-26 22:08:18 +02:00
parent ba1da91a46
commit eb6bffee64
5 changed files with 5 additions and 6 deletions

View file

@ -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

View file

@ -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"

View file

@ -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
#=================================================

View file

@ -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
#=================================================