From 3885ca09d80d7fb93710e76f5ebddce9a47cf6a8 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Fri, 12 Jul 2024 08:05:03 +0200 Subject: [PATCH] Fix REMOVEME? --- scripts/restore | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/scripts/restore b/scripts/restore index 0293402..71ccaa0 100755 --- a/scripts/restore +++ b/scripts/restore @@ -26,14 +26,6 @@ if grep gpio -q < /etc/group; then usermod -a -G gpio "$app" fi -#================================================= -# INSTALL EXTRA DEPENDENCIES -#================================================= -#REMOVEME? ynh_script_progression --message="Installing dependencies..." --weight=15 - -#ynh_install_nodejs --nodejs_version=$NODEJS_VERSION -#ynh_use_nodejs -#ynh_exec_warn_less $ynh_npm install ---global yarn #================================================= # RESTORE THE APP MAIN DIR @@ -42,12 +34,6 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" -# FIXME: this should be managed by the core in the future -# Here, as a packager, you may have to tweak the ownerhsip/permissions -# such that the appropriate users (e.g. maybe www-data) can access -# files in some cases. -# But FOR THE LOVE OF GOD, do not allow r/x for "others" on the entire folder - -# this will be treated as a security issue. chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app: "$install_dir"