1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgwarehouse_ynh.git synced 2024-09-03 18:16:17 +02:00

Fix restore

This commit is contained in:
Limezy 2024-05-01 23:22:47 +07:00
parent 1795a9e184
commit 3208694ead

View file

@ -20,10 +20,10 @@ ynh_restore_file --origin_path="$install_dir"
chown -R $app:www-data "$install_dir"
ynh_restore_file --origin_path="/home/$app"
ynh_restore_file --origin_path="/home/yunohost.app/$app"
ynh_restore_file --origin_path="/home/yunohost.app/$app" --not_mandatory
chown -R $app:www-data "/home/$app"
chown -R $app:www-data "/home/yunohost.app/$app" --not_mandatory
chown -R $app:www-data "/home/yunohost.app/$app"
ln -s "/home/yunohost.app/$app" "/home/$app/repos" && chmod 700 "/home/$app/repos"
ln -s "$install_dir/app" "/home/$app/app" && chmod 700 "/home/$app/app"