mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
[fix] Permission issue if we install borgserver and next borg
This commit is contained in:
parent
b53882a489
commit
4a1133915c
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ install_borg_with_pip () {
|
|||
/opt/borg-env/bin/python /opt/borg-env/bin/pip install borgbackup==1.1.15
|
||||
echo "#!/bin/bash
|
||||
/opt/borg-env/bin/python /opt/borg-env/bin/borg \"\$@\"" > /usr/local/bin/borg
|
||||
chmod u+x /usr/local/bin/borg
|
||||
# We need this to be executable by
|
||||
chmod a+x /usr/local/bin/borg
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue