From dc8ac662f3529272c5e7bb457e26c1d2b7d8df47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 11 Feb 2018 01:28:15 +0100 Subject: [PATCH] Fix manifest --- manifest.json | 2 +- scripts/_common.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index bc0d271..0f48c94 100644 --- a/manifest.json +++ b/manifest.json @@ -76,7 +76,7 @@ "en": "Is it a public site ? If you want to use a desktop client or the smartphone app, make Seafile public.", "fr": "Est-ce un site public ? Pour utiliser un client sur PC ou l'application mobile, Seafile doit ĂȘtre public" }, - "default": "1" + "default": true } ] } diff --git a/scripts/_common.sh b/scripts/_common.sh index d87bcd7..d9709c5 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -3,7 +3,8 @@ #================================================= app=$YNH_APP_INSTANCE_NAME -seafile_version=$(ynh_app_upstream_version) +[[ -e "../settings/manifest.json" ]] || [[ -e "../manifest.json" ]] && \ + seafile_version=$(ynh_app_upstream_version) #================================================= # DEFINE ALL COMMON FONCTIONS