From a50dad1a14dbc9fbba54e5ed5b841e46b8f48b60 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sun, 30 Jan 2022 22:35:23 +0100 Subject: [PATCH] 1.10.0 --- conf/retroarch.cron | 2 +- manifest.json | 2 +- scripts/install | 3 ++- scripts/restore | 2 ++ scripts/upgrade | 4 +++- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/conf/retroarch.cron b/conf/retroarch.cron index f5d3e5e..fa09e6e 100644 --- a/conf/retroarch.cron +++ b/conf/retroarch.cron @@ -1,2 +1,2 @@ #This script will update the core index every 5 minutes so that they are available in retroarch -*/5 * * * * root __FINAL_PATH__/indexer.sh > /dev/null 2>&1 \ No newline at end of file +*/5 * * * * root __FINAL_PATH__/indexer.sh > /dev/null 2>&1 diff --git a/manifest.json b/manifest.json index 22de9ab..60d49c6 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Emulate videogames system and play videogames through your web browser", "fr": "Emulez des consoles de jeux et jouer à ces jeux vidéos dans votre explorateur web" }, - "version": "1.10.0~ynh1", + "version": "1.10.0~ynh2", "url": "http://www.retroarch.com/", "upstream": { "version": "1.10.0", diff --git a/scripts/install b/scripts/install index fedf677..c857d18 100755 --- a/scripts/install +++ b/scripts/install @@ -102,7 +102,6 @@ chmod 744 $final_path/indexer.sh #setup cron file cron_path="/etc/cron.d/$app" ynh_add_config --template="../conf/retroarch.cron" --destination="$cron_path" -chown www-data: "$cron_path" chmod 644 "$cron_path" #================================================= @@ -128,6 +127,8 @@ ynh_add_nginx_config # Set permissions to app files chown -R www-data: $final_path +# Requested so that multimedia group can see the Game folder : all parent folder should be readable by others +chmod 751 $final_path #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index 4a511af..37527e2 100755 --- a/scripts/restore +++ b/scripts/restore @@ -70,6 +70,8 @@ ynh_restore_file --origin_path="$final_path" # Restore permissions on app files chown -R www-data: $final_path +# Requested so that multimedia group can see the Game folder : all parent folder should be readable by others +chmod 751 $final_path #================================================= # SPECIFIC RESTORATION diff --git a/scripts/upgrade b/scripts/upgrade index 61d80b1..f7ea8e0 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -74,7 +74,7 @@ chmod 744 $final_path/indexer.sh #setup cron file cron_path="/etc/cron.d/$app" ynh_add_config --template="../conf/retroarch.cron" --destination="$cron_path" -chown www-data: "$cron_path" +chown root: "$cron_path" chmod 644 "$cron_path" #================================================= @@ -116,6 +116,8 @@ ynh_npm install -g coffeescript #================================================= chown -R www-data: $final_path +# Requested so that multimedia group can see the Game folder : all parent folder should be readable by others +chmod 751 $final_path #================================================= # RELOAD NGINX