mirror of
https://github.com/YunoHost-Apps/20euros_ynh.git
synced 2024-09-03 18:05:53 +02:00
Fix permissions
This commit is contained in:
parent
f8c5f11894
commit
09b05df3e2
7 changed files with 9 additions and 7 deletions
|
@ -18,8 +18,8 @@ Clone of 2048 game with euro coins and bills.
|
|||
|
||||
#### Supported architectures
|
||||
|
||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/20euros/)
|
||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/20euros/)
|
||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/20euros/)
|
||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/20euros/)
|
||||
|
||||
## Links
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ Clone du jeu 2048 avec pièces et billets en euros.
|
|||
|
||||
#### Architectures supportées
|
||||
|
||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/20euros/)
|
||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/20euros/)
|
||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/20euros/)
|
||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/20euros/)
|
||||
|
||||
## Liens
|
||||
|
||||
|
|
|
@ -14,5 +14,4 @@
|
|||
upgrade=1
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
port_already_use=0
|
||||
change_url=1
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "A 2048 variant with Euro coins and notes.",
|
||||
"fr": "Une variante 2048 avec pièces et billets en euros."
|
||||
},
|
||||
"version": "1.0~ynh4",
|
||||
"version": "1.0~ynh5",
|
||||
"url": "https://github.com/jatekos101/20euros",
|
||||
"license": "MIT",
|
||||
"maintainer": {
|
||||
|
|
|
@ -43,7 +43,7 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
|
|||
ynh_script_progression --message="Storing installation settings..." --weight=2
|
||||
|
||||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
|
@ -74,6 +74,7 @@ ynh_add_nginx_config
|
|||
|
||||
# Set permissions to app files
|
||||
chown -R root: $final_path
|
||||
chmod -R o-rwx $final_path
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
|
@ -65,6 +65,7 @@ ynh_system_user_create --username=$app
|
|||
|
||||
# Restore permissions on app files
|
||||
chown -R root: $final_path
|
||||
chmod -R o-rwx $final_path
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
|
@ -84,6 +84,7 @@ ynh_add_nginx_config
|
|||
|
||||
# Set permissions on app files
|
||||
chown -R root: $final_path
|
||||
chmod -R o-rwx $final_path
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
|
|
Loading…
Add table
Reference in a new issue