Forked from Misskey and made by a passionate team of developers, Firefish is all about listening to its community and making people happy with great software.
GNU Affero General Public License v3.0
1
stars
6
forks
source link
[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1 #13
This is an automated patch to potentially fix a bug in the upgrade script.
ynh_setup_source doesn't overwrite the destination directory, but rather extracts the source in the existing directory.
This might lead to weird cases where legacy source files aren't deleted.
The command has an argument --full_replace=1 that fixes this behaviour.
BE CAREFUL because this change might lead to data losses! You should check that all the patches calls to ynh_setup_sourcedo exactly what you expect to do and don't delete user data.
If you want exclude some files from being overwritten/deleted, use the --keep argument, just like that:
This is an automatic PR
This is an automated patch to potentially fix a bug in the upgrade script.
ynh_setup_source
doesn't overwrite the destination directory, but rather extracts the source in the existing directory.This might lead to weird cases where legacy source files aren't deleted.
The command has an argument
--full_replace=1
that fixes this behaviour.BE CAREFUL because this change might lead to data losses! You should check that all the patches calls to
ynh_setup_source
do exactly what you expect to do and don't delete user data.If you want exclude some files from being overwritten/deleted, use the
--keep
argument, just like that: