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

Update upgrade

This commit is contained in:
ericgaspar 2022-01-17 10:23:48 +01:00
parent acf5782593
commit 61af40cc00
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -104,7 +104,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=4
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/public/dist/user.css"
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/.env $final_path/public/dist/user.css"
fi
chmod 750 "$final_path"
@ -148,7 +148,7 @@ ynh_install_composer --install_args="--ignore-platform-reqs"
ynh_script_progression --message="Setting $app config..."
# Setup application config
ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env"
#ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env"
ynh_replace_string --match_string="\$ffmpeg = FFMpeg::create();" --replace_string="\$ffmpeg = FFMpeg::create(array(\
'ffmpeg.binaries' => '/usr/bin/ffmpeg',\