mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Update upgrade
This commit is contained in:
parent
e33fafe3a2
commit
d9b99c496d
1 changed files with 2 additions and 0 deletions
|
@ -135,6 +135,8 @@ function list_installed_apps_not_compatible_with_future_version()
|
|||
comm -23 <(comm -23 $installed_apps $core_apps_in_current_version) $nextcloud_destination_appcatalog
|
||||
}
|
||||
|
||||
current_version=$(grep OC_VersionString "$install_dir/version.php" | cut -d\' -f2)
|
||||
current_major_version=${current_version%%.*}
|
||||
|
||||
last_version=$(ynh_read_manifest --manifest_key="resources.sources.main.url" | grep -o '[0-9][0-9]\.[0-9]\.[0-9][0-9]')
|
||||
last_major_version=${last_version%%.*}
|
||||
|
|
Loading…
Add table
Reference in a new issue