1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00
This commit is contained in:
ericgaspar 2020-12-27 17:48:10 +01:00
parent cd7a006c10
commit b3061996f9
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 2 deletions

View file

@ -118,6 +118,7 @@ ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_fil
# setup application config
pushd "$final_path"
php$phpversion artisan upgrade
php$phpversion artisan key:generate -n --force --env
php$phpversion artisan migrate -n --force
php$phpversion artisan config:clear -n

View file

@ -82,7 +82,6 @@ then
# Backup the config file in the temp dir
cp -a "$final_path/public/dist/user.css" "$tmpdir/user.css"
cp -R "$final_path/public/dist/uploads" "$tmpdir/uploads"
# Remove the app directory securely
ynh_secure_remove --file="$final_path"
@ -92,7 +91,6 @@ then
# Copy the admin saved settings from tmp directory to final path
cp -a "$tmpdir/user.css" "$final_path/public/dist/user.css"
cp -R "$final_path/uploads" "$final_path/public/dist/uploads"
# Remove the tmp directory securely
ynh_secure_remove --file="$tmpdir"