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:
parent
1795a9e184
commit
3208694ead
1 changed files with 2 additions and 2 deletions
|
@ -20,10 +20,10 @@ ynh_restore_file --origin_path="$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/home/$app"
|
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/$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 "/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"
|
ln -s "$install_dir/app" "/home/$app/app" && chmod 700 "/home/$app/app"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue