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

Update install

This commit is contained in:
Éric Gaspar 2023-11-11 18:29:36 +01:00
parent ca67122d5a
commit 4b98810d3b

View file

@ -38,6 +38,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
# Download, check integrity, uncompress and patch the source from manifest.toml # Download, check integrity, uncompress and patch the source from manifest.toml
ynh_setup_source --dest_dir="$install_dir/app" ynh_setup_source --dest_dir="$install_dir/app"
mkdir /home/borgwarehouse
mkdir /home/borgwarehouse/.ssh && chmod 700 /home/borgwarehouse/.ssh mkdir /home/borgwarehouse/.ssh && chmod 700 /home/borgwarehouse/.ssh
touch /home/borgwarehouse/.ssh/authorized_keys && chmod 600 /home/borgwarehouse/.ssh/authorized_keys touch /home/borgwarehouse/.ssh/authorized_keys && chmod 600 /home/borgwarehouse/.ssh/authorized_keys
mkdir $install_dir/repos && chmod 700 $install_dir/repos mkdir $install_dir/repos && chmod 700 $install_dir/repos