1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kavita_ynh.git synced 2024-09-03 19:26:30 +02:00

[autopatch] ynh_setup_source --full_replace=1 (#42)

Co-authored-by: OniriCorpe <oniricorpe@disroot.org>
Co-authored-by: Yunohost-Bot <>
This commit is contained in:
Salamandar 2024-03-11 18:55:38 +01:00 committed by GitHub
parent 9bd547a18a
commit c81f1fda4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ then
ynh_script_progression --message="Migrating binary architecture..." --weight=1 ynh_script_progression --message="Migrating binary architecture..." --weight=1
# 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" --keep="config/appsettings.json" ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config"
fi fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"

View file

@ -33,7 +33,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# 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" --keep="config/appsettings.json" ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config"
fi fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"