mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
fix
This commit is contained in:
parent
1e44f3d649
commit
d471cfcc96
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ ynh_mysql_db_shell \
|
||||||
ynh_script_progression "Setting up source files..."
|
ynh_script_progression "Setting up source files..."
|
||||||
|
|
||||||
# Enable YunoHost patches on Nextcloud sources
|
# Enable YunoHost patches on Nextcloud sources
|
||||||
cp -a ../sources/patches_last_version/* ../patches
|
cp -a ../sources/patches_last_version/* ../sources/patches
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
|
||||||
|
|
|
@ -151,7 +151,7 @@ then
|
||||||
next_major_version="$(( $current_major_version + 1 ))"
|
next_major_version="$(( $current_major_version + 1 ))"
|
||||||
if [[ "$next_major_version" -ge "$last_major_version" ]]; then
|
if [[ "$next_major_version" -ge "$last_major_version" ]]; then
|
||||||
ynh_print_info "Upgrading to Nextcloud $last_version"
|
ynh_print_info "Upgrading to Nextcloud $last_version"
|
||||||
cp -a ../sources/patches_last_version/* ../patches
|
cp -a ../sources/patches_last_version/* ../sources/patches
|
||||||
source_id="main"
|
source_id="main"
|
||||||
else
|
else
|
||||||
ynh_print_info "Upgrading to Nextcloud $next_major_version"
|
ynh_print_info "Upgrading to Nextcloud $next_major_version"
|
||||||
|
|
Loading…
Add table
Reference in a new issue