1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

Correct package_check warning

This commit is contained in:
Krakinou 2021-04-06 20:19:52 +02:00
parent 7fe8862e80
commit 45eedf0b88
3 changed files with 2 additions and 16 deletions

View file

@ -25,38 +25,22 @@
{
"name": "domain",
"type": "domain",
"ask": {
"en": "Choose a domain name for Calibre-web",
"fr": "Choisissez un nom de domaine pour Calibre-web"
},
"example": "example.com"
},
{
"name": "path",
"type": "path",
"ask": {
"en": "Choose a path for Calibre-web",
"fr": "Choisissez un chemin pour Calibre-web"
},
"example": "/calibre",
"default": "/calibre"
},
{
"name": "admin",
"type": "user",
"ask": {
"en": "Choose an admin user",
"fr": "Choisissez ladministrateur"
},
"example": "johndoe"
},
{
"name": "is_public",
"type": "boolean",
"ask": {
"en": "Is it a public application?",
"fr": "Est-ce une application publique ?"
},
"help":{
"en":"No will set the library in /home/yunohost.multimedia/admin/eBook, except if you set the library as public",
"fr":"Non parametrera la bibliothèque pour /home/yunohost.multimedia/admin/eBook sauf si la bibliothèque est également publique"

View file

@ -121,6 +121,7 @@ ynh_add_nginx_config
ynh_system_user_create $app
chown -R $app: $final_path
chmod 740 $final_path
#=================================================
# SETUP SYSTEMD

View file

@ -76,6 +76,7 @@ ynh_restore_file --origin_path="$final_path"
# RESTORE USER RIGHTS
#=================================================
chown -R $app: $final_path
chmod 740 $final_path
#=================================================
# SPECIFIC RESTORATION