mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
[fix] Bookworm install
This commit is contained in:
parent
9a2347b9ab
commit
215b23fef5
2 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@ name = "Borg Backup"
|
||||||
description.en = "Backup your server on a host server using Borg"
|
description.en = "Backup your server on a host server using Borg"
|
||||||
description.fr = "Sauvegardez votre serveur sur un serveur distant avec Borg"
|
description.fr = "Sauvegardez votre serveur sur un serveur distant avec Borg"
|
||||||
|
|
||||||
version = "1.1.16~ynh30"
|
version = "1.2.8~ynh1"
|
||||||
|
|
||||||
maintainers = ["ljf"]
|
maintainers = ["ljf"]
|
||||||
|
|
||||||
|
@ -92,6 +92,6 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
|
||||||
"python3-setuptools",
|
"python3-setuptools",
|
||||||
"python3-venv",
|
"python3-venv",
|
||||||
"virtualenv",
|
"virtualenv",
|
||||||
"libfuse-dev",
|
"libfuse3-dev",
|
||||||
"pkg-config",
|
"pkg-config",
|
||||||
]
|
]
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
BORG_VERSION=1.1.16
|
BORG_VERSION=1.2.8
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
@ -19,9 +19,9 @@ install_borg_with_pip () {
|
||||||
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 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 -U
|
||||||
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[pyfuse3]==$BORG_VERSION
|
||||||
echo "#!/bin/bash
|
echo "#!/bin/bash
|
||||||
/opt/borg-env/bin/python /opt/borg-env/bin/borg \"\$@\"" > /usr/local/bin/borg
|
/opt/borg-env/bin/python /opt/borg-env/bin/borg \"\$@\"" > /usr/local/bin/borg
|
||||||
touch "/opt/borg-env/$(ynh_get_debian_release)"
|
touch "/opt/borg-env/$(ynh_get_debian_release)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue