Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=3

# 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" --full_replace=1 --keep="composer.json composer.lock config/config.inc.php logs/ plugins/"
fi

chmod -R o-rwx "$install_dir"
Expand All @@ -96,9 +96,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Reconfiguring Roundcube..." --weight=1

deskey=$(ynh_string_random --length=24)
ynh_add_config --template="../conf/config.inc.php" --destination="$install_dir/config/config.inc.php"

#=================================================
# UPDATE DEPENDENCIES WITH COMPOSER
#=================================================
Expand Down