mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
Also upgrade setuptools before installing borg
This commit is contained in:
parent
2064b8b286
commit
095826c7da
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ install_borg_with_pip () {
|
||||||
if [ ! -d /opt/borg-env ]; then
|
if [ ! -d /opt/borg-env ]; then
|
||||||
python3 -m venv /opt/borg-env
|
python3 -m venv /opt/borg-env
|
||||||
/opt/borg-env/bin/python /opt/borg-env/bin/pip install pip -U
|
/opt/borg-env/bin/python /opt/borg-env/bin/pip install pip -U
|
||||||
|
/opt/borg-env/bin/python /opt/borg-env/bin/pip install setuptools -U
|
||||||
/opt/borg-env/bin/python /opt/borg-env/bin/pip install wheel
|
/opt/borg-env/bin/python /opt/borg-env/bin/pip install wheel
|
||||||
ynh_print_info --message="Installing/compiling borg, this may take some time..."
|
ynh_print_info --message="Installing/compiling borg, this may take some time..."
|
||||||
/opt/borg-env/bin/python /opt/borg-env/bin/pip install borgbackup[fuse]==$BORG_VERSION
|
/opt/borg-env/bin/python /opt/borg-env/bin/pip install borgbackup[fuse]==$BORG_VERSION
|
||||||
|
|
Loading…
Add table
Reference in a new issue