Allow locales/ listing

This commit is contained in:
Miraty 2022-08-27 02:51:58 +02:00
parent 62336eb38f
commit 50ed24b246
4 changed files with 8 additions and 4 deletions

View File

@ -17,7 +17,8 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Web interface for generating QR codes Web interface for generating QR codes
**Shipped version:** 2.0.0~ynh1 **Shipped version:** 2.0.0~ynh2
**Demo:** https://qr.antopie.org **Demo:** https://qr.antopie.org
@ -27,6 +28,7 @@ Web interface for generating QR codes
## Documentation and resources ## Documentation and resources
* Official app website: <https://code.antopie.org/miraty/libreqr>
* Upstream app code repository: <https://code.antopie.org/miraty/libreqr> * Upstream app code repository: <https://code.antopie.org/miraty/libreqr>
* YunoHost documentation for this app: <https://yunohost.org/app_qr> * YunoHost documentation for this app: <https://yunohost.org/app_qr>
* Report a bug: <https://code.antopie.org/miraty/qr_ynh/issues> * Report a bug: <https://code.antopie.org/miraty/qr_ynh/issues>

View File

@ -17,7 +17,8 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Interface Web pour générer des codes QR Interface Web pour générer des codes QR
**Version incluse :** 2.0.0~ynh1 **Version incluse :** 2.0.0~ynh2
**Démo :** https://qr.antopie.org **Démo :** https://qr.antopie.org
@ -27,6 +28,7 @@ Interface Web pour générer des codes QR
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : <https://code.antopie.org/miraty/libreqr>
* Dépôt de code officiel de l'app : <https://code.antopie.org/miraty/libreqr> * Dépôt de code officiel de l'app : <https://code.antopie.org/miraty/libreqr>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_qr> * Documentation YunoHost pour cette app : <https://yunohost.org/app_qr>
* Signaler un bug : <https://code.antopie.org/miraty/qr_ynh/issues> * Signaler un bug : <https://code.antopie.org/miraty/qr_ynh/issues>

View File

@ -6,7 +6,7 @@
"en": "Web interface for generating QR codes", "en": "Web interface for generating QR codes",
"fr": "Interface Web pour générer des codes QR" "fr": "Interface Web pour générer des codes QR"
}, },
"version": "2.0.0~ynh1", "version": "2.0.0~ynh2",
"url": "https://code.antopie.org/miraty/libreqr", "url": "https://code.antopie.org/miraty/libreqr",
"upstream": { "upstream": {
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",

View File

@ -1,7 +1,7 @@
libreqr_apply_filesystem_permissions() { libreqr_apply_filesystem_permissions() {
find "$final_path" -type f -exec chmod 400 "{}" + find "$final_path" -type f -exec chmod 400 "{}" +
find "$final_path" -type f -exec chown www-data:www-data "{}" + find "$final_path" -type f -exec chown www-data:www-data "{}" +
find "$final_path" -type d -exec chmod 110 "{}" + find "$final_path" -type d -exec chmod 510 "{}" +
find "$final_path" -type d -exec chown $app:www-data "{}" + find "$final_path" -type d -exec chown $app:www-data "{}" +
find "$final_path" -type f -name "*.php" -exec chmod 400 "{}" + find "$final_path" -type f -name "*.php" -exec chmod 400 "{}" +
find "$final_path" -type f -name "*.php" -exec chown $app:$app "{}" + find "$final_path" -type f -name "*.php" -exec chown $app:$app "{}" +