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:
parent
09916b614e
commit
327696200c
1 changed files with 2 additions and 0 deletions
|
@ -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" ]
|
||||
|
|
Loading…
Add table
Reference in a new issue