diff --git a/scripts/_variables b/scripts/_variables index a20c68e..7eb4c6b 100644 --- a/scripts/_variables +++ b/scripts/_variables @@ -11,4 +11,4 @@ nodejs_version=6 # Version of mypads # This variable is mostly used to force an upgrade of the package in case of new versions of mypads. -mypads_version=1.6.2 +mypads_version=1.6.8 diff --git a/scripts/restore b/scripts/restore index bae61cd..56e3f83 100644 --- a/scripts/restore +++ b/scripts/restore @@ -125,6 +125,13 @@ ynh_use_nodejs npm cache clean npm install forever -g >> $install_log 2>&1 +#================================================= +# SECURING FILES AND DIRECTORIES +#================================================= + +# Set files ownership to etherpad +chown -R $app: $final_path + #================================================= # ENABLE SERVICE IN ADMIN PANEL #=================================================