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", "name": "LibreSurvey",
"id": "libresurvey", "id": "libresurvey",
"packaging_format": 1, "packaging_format": 1,
"version": "2.62.5-1", "version": "2.62.5-2",
"description": { "description": {
"en": "LibreSurvey is used to create advanced poll.", "en": "LibreSurvey is used to create advanced poll.",
"fr": "LibreSurvey est un outil de création et diffusion de sondage en ligne." "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 force_upgrade=${YNH_FORCE_UPGRADE:-0}
local package_check=${PACKAGE_CHECK_EXEC:-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 version=$(ynh_read_json "/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 last_version=$(ynh_read_manifest "version" || echo 1.0)
if [ "$version" = "$last_version" ] if [ "$version" = "$last_version" ]
then then
if [ "$force_upgrade" != "0" ] if [ "$force_upgrade" != "0" ]