1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00
This commit is contained in:
Éric Gaspar 2024-06-21 00:34:06 +02:00
parent 1e44f3d649
commit d471cfcc96
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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"