diff --git a/manifest.json b/manifest.json index 4af987d..0c470d6 100644 --- a/manifest.json +++ b/manifest.json @@ -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 l’administrateur" - }, "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" diff --git a/scripts/install b/scripts/install index 133e47a..e059794 100755 --- a/scripts/install +++ b/scripts/install @@ -121,6 +121,7 @@ ynh_add_nginx_config ynh_system_user_create $app chown -R $app: $final_path +chmod 740 $final_path #================================================= # SETUP SYSTEMD diff --git a/scripts/restore b/scripts/restore index f07958c..2e14305 100755 --- a/scripts/restore +++ b/scripts/restore @@ -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