1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git synced 2024-09-03 18:36:09 +02:00

Update config

This commit is contained in:
ericgaspar 2021-03-23 15:28:49 +01:00
parent 09916b614e
commit 327696200c
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -201,6 +201,7 @@ apply_config() {
if [ "$pad_config_automatic_logout" != "$old_pad_config_automatic_logout" ]
then
ynh_use_nodejs
chown -R $app: $final_path
pushd "$final_path/src"
ynh_secure_remove --file="$final_path/src/package-lock.json" #added to fix saveError ENOENT: no such file or directory
if [ "$pad_config_automatic_logout" = "0" ]
@ -251,6 +252,7 @@ apply_config() {
if [ "$mypads" != "$old_mypads" ]
then
ynh_use_nodejs
chown -R $app: $final_path
pushd "$final_path/src"
ynh_secure_remove --file="$final_path/src/package-lock.json" #added to fix saveError ENOENT: no such file or directory
if [ "$mypads" = "1" ]