mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Fix
This commit is contained in:
parent
4e788edaa8
commit
30d4abd42f
1 changed files with 4 additions and 6 deletions
|
@ -144,6 +144,9 @@ ynh_add_fpm_config --usage=low --footprint=low --package="$extra_php_dependencie
|
|||
#=================================================
|
||||
ynh_script_progression --message="Installing Composer..." --weight=1
|
||||
|
||||
|
||||
ynh_secure_remove --file="$final_path/composer.lock"
|
||||
|
||||
# Upgrade composer itself
|
||||
ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_args="--prefer-source --no-dev"
|
||||
|
||||
|
@ -152,16 +155,11 @@ ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_ar
|
|||
#=================================================
|
||||
ynh_script_progression --message="Building..."
|
||||
|
||||
ynh_backup_if_checksum_is_different --file="$final_path/.env"
|
||||
|
||||
# Setup application config
|
||||
ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env"
|
||||
|
||||
# Recalculate and store the checksum of the file for the next upgrade.
|
||||
ynh_store_file_checksum --file="$final_path/.env"
|
||||
|
||||
# Setup custom user.css file
|
||||
cp ../conf/user.css.example $final_path/public/dist/user.css
|
||||
#cp ../conf/user.css.example $final_path/public/dist/user.css
|
||||
|
||||
#=================================================
|
||||
# INSTALL AND INITIALIZE COMPOSER
|
||||
|
|
Loading…
Reference in a new issue