1
0
Fork 0
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:
ljf 2021-03-02 17:31:37 +01:00
parent b53882a489
commit 4a1133915c

View file

@ -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
}