mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
Fix upgrade
./upgrade: line 189: [: : integer expression expected
This commit is contained in:
parent
aef1ccba37
commit
d141ad2882
2 changed files with 11 additions and 1 deletions
|
@ -18,6 +18,10 @@
|
||||||
setup_private=1
|
setup_private=1
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
|
# 2.14.0
|
||||||
|
upgrade=1 from_commit=36d8f49e08958c19f99eda858f83a64e98be7844
|
||||||
|
# 2.17.0~ynh1
|
||||||
|
upgrade=1 from_commit=4b497cf6445fc515070265721f40ceb816864bf1
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.
|
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.
|
||||||
|
@ -30,3 +34,8 @@
|
||||||
;;; Options
|
;;; Options
|
||||||
Email=anmol@datamol.org
|
Email=anmol@datamol.org
|
||||||
Notification=change
|
Notification=change
|
||||||
|
;;; Upgrade options
|
||||||
|
; commit=36d8f49e08958c19f99eda858f83a64e98be7844
|
||||||
|
name=2.14.0
|
||||||
|
; commit=4b497cf6445fc515070265721f40ceb816864bf1
|
||||||
|
name=2.17.0~ynh1
|
||||||
|
|
|
@ -186,7 +186,8 @@ else
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$version" -lt "2.15.0" ]; then
|
if [ dpkg --compare-versions "$version" -lt "2.15.0" ]; then
|
||||||
|
ynh_script_progression --message="Upgrading for 2.15.0..."
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
php$phpversion artisan monica:moveavatarstophotosdirectory
|
php$phpversion artisan monica:moveavatarstophotosdirectory
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Reference in a new issue