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
825e67001f
commit
1fd145e598
1 changed files with 3 additions and 0 deletions
|
@ -93,6 +93,9 @@ ynh_add_nginx_config
|
|||
# VERSION TO THE NEXT ONE
|
||||
#=================================================
|
||||
|
||||
current_version=$(grep OC_VersionString "$install_dir/version.php" | cut -d\' -f2)
|
||||
current_major_version=${current_version%%.*}
|
||||
|
||||
# Define a function to execute commands with `occ`
|
||||
exec_occ() {
|
||||
# Backward compatibility to upgrade from older versions
|
||||
|
|
Loading…
Add table
Reference in a new issue