1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/retroarch_ynh.git synced 2024-09-03 20:16:12 +02:00
This commit is contained in:
Krakinou 2022-01-30 22:35:23 +01:00
parent 1b2b73e469
commit a50dad1a14
5 changed files with 9 additions and 4 deletions

View file

@ -1,2 +1,2 @@
#This script will update the core index every 5 minutes so that they are available in retroarch #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 */5 * * * * root __FINAL_PATH__/indexer.sh > /dev/null 2>&1

View file

@ -6,7 +6,7 @@
"en": "Emulate videogames system and play videogames through your web browser", "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" "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/", "url": "http://www.retroarch.com/",
"upstream": { "upstream": {
"version": "1.10.0", "version": "1.10.0",

View file

@ -102,7 +102,6 @@ chmod 744 $final_path/indexer.sh
#setup cron file #setup cron file
cron_path="/etc/cron.d/$app" cron_path="/etc/cron.d/$app"
ynh_add_config --template="../conf/retroarch.cron" --destination="$cron_path" ynh_add_config --template="../conf/retroarch.cron" --destination="$cron_path"
chown www-data: "$cron_path"
chmod 644 "$cron_path" chmod 644 "$cron_path"
#================================================= #=================================================
@ -128,6 +127,8 @@ ynh_add_nginx_config
# Set permissions to app files # Set permissions to app files
chown -R www-data: $final_path 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 # SETUP SSOWAT

View file

@ -70,6 +70,8 @@ ynh_restore_file --origin_path="$final_path"
# Restore permissions on app files # Restore permissions on app files
chown -R www-data: $final_path 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 # SPECIFIC RESTORATION

View file

@ -74,7 +74,7 @@ chmod 744 $final_path/indexer.sh
#setup cron file #setup cron file
cron_path="/etc/cron.d/$app" cron_path="/etc/cron.d/$app"
ynh_add_config --template="../conf/retroarch.cron" --destination="$cron_path" ynh_add_config --template="../conf/retroarch.cron" --destination="$cron_path"
chown www-data: "$cron_path" chown root: "$cron_path"
chmod 644 "$cron_path" chmod 644 "$cron_path"
#================================================= #=================================================
@ -116,6 +116,8 @@ ynh_npm install -g coffeescript
#================================================= #=================================================
chown -R www-data: $final_path 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 # RELOAD NGINX