1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/limesurvey_ynh.git synced 2024-09-03 19:36:32 +02:00

[fix] Can't read manifest

This commit is contained in:
ljf 2018-03-14 02:19:52 +01:00
parent 4b522fac7b
commit 00cc392455
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
"name": "LibreSurvey",
"id": "libresurvey",
"packaging_format": 1,
"version": "2.62.5-1",
"version": "2.62.5-2",
"description": {
"en": "LibreSurvey is used to create advanced poll.",
"fr": "LibreSurvey est un outil de création et diffusion de sondage en ligne."

View file

@ -305,8 +305,8 @@ ynh_abort_if_up_to_date () {
local force_upgrade=${YNH_FORCE_UPGRADE:-0}
local package_check=${PACKAGE_CHECK_EXEC:-0}
local version=$(ynh_read_manifest "/etc/yunohost/apps/$YNH_APP_INSTANCE_NAME/manifest.json" "version" || echo 1.0)
local last_version=$(ynh_read_manifest "../manifest.json" "version" || echo 1.0)
local version=$(ynh_read_json "/etc/yunohost/apps/$YNH_APP_INSTANCE_NAME/manifest.json" "version" || echo 1.0)
local last_version=$(ynh_read_manifest "version" || echo 1.0)
if [ "$version" = "$last_version" ]
then
if [ "$force_upgrade" != "0" ]