mirror of
https://github.com/YunoHost-Apps/cyberchef_ynh.git
synced 2024-09-03 18:16:31 +02:00
Merge pull request #19 from YunoHost-Apps/upgrade_full_replace
[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1
This commit is contained in:
commit
5f5f08f83e
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ index_page=$(basename -s .zip $upstream_source_url).html #this variable will als
|
|||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=10
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
ynh_setup_source --dest_dir="$install_dir" --full_replace=1
|
||||
ynh_replace_string --match_string="$source_filename" --replace_string="$upstream_source_url" --target_file="$install_dir/$index_page" #replace link to local source file with link to upstream source file
|
||||
chown -R $app:www-data "$install_dir"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue