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
cd7a006c10
commit
b3061996f9
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue