mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
Fix upgrade: missing helper
This commit is contained in:
parent
d044923af7
commit
1016a9e2aa
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
source _common.sh
|
source _common.sh
|
||||||
|
source ynh_add_config
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -105,7 +106,7 @@ then
|
||||||
# Create a temporary directory
|
# Create a temporary directory
|
||||||
tmpdir="$(mktemp -d)"
|
tmpdir="$(mktemp -d)"
|
||||||
|
|
||||||
# Copy the admin saved settings from tmp directory to final path
|
# Copy the admin saved settings from tmp directory to final path
|
||||||
cp -ar "$final_path/config.production.json" "$tmpdir/config.production.json"
|
cp -ar "$final_path/config.production.json" "$tmpdir/config.production.json"
|
||||||
|
|
||||||
# Backup the content folder to the temp dir
|
# Backup the content folder to the temp dir
|
||||||
|
|
Loading…
Add table
Reference in a new issue