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:
parent
5081819b98
commit
5c372f89af
1 changed files with 5 additions and 5 deletions
|
@ -99,7 +99,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 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="$final_path" --keep="$final_path/public/dist/user.css $final_path/.env"
|
ynh_setup_source --dest_dir="$final_path" #--keep="$final_path/public/dist/user.css $final_path/.env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
|
@ -141,8 +141,8 @@ ynh_install_composer --install_args="--ignore-platform-reqs"
|
||||||
#=================================================
|
#=================================================
|
||||||
# ynh_script_progression --message="Setting Lychee config..."
|
# ynh_script_progression --message="Setting Lychee config..."
|
||||||
|
|
||||||
# # Setup application 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"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL AND INITIALIZE COMPOSER
|
# INSTALL AND INITIALIZE COMPOSER
|
||||||
|
@ -152,8 +152,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading Lychee source files..." --weight=4
|
ynh_script_progression --message="Upgrading Lychee source files..." --weight=4
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
php$phpversion artisan key:generate -n --force
|
#php$phpversion artisan key:generate -n --force
|
||||||
php$phpversion artisan migrate -n --force
|
php$phpversion artisan migrate -n #--force
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue