1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/penpot_ynh.git synced 2024-09-03 19:56:56 +02:00

Actually fix restore

This commit is contained in:
orhtej2 2024-02-20 22:37:47 +01:00
parent 2fb3df40a2
commit 409ca7da0f
2 changed files with 4 additions and 1 deletions

View file

@ -8,6 +8,8 @@
source _common.sh
source /usr/share/yunohost/helpers
redis_db=$(ynh_redis_get_free_db)
secret_key=$(ynh_string_random --length=40)
main_domain=$(yunohost domain list --output-as plain | grep -A1 -e '#main' | tail -n 1)
@ -55,7 +57,6 @@ ynh_setup_source --dest_dir="$install_dir/build"
chown -R $app:www-data "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# INSTALL APP

View file

@ -22,6 +22,8 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$install_dir"
chown -R $app:$app "$install_dir"
chown $app:www-data "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir/frontend"
#=================================================