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:
parent
9bd547a18a
commit
c81f1fda4f
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue