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

[fix] Reinstall 1 time only

This commit is contained in:
ljf (zamentur) 2020-07-31 11:01:29 +02:00 committed by GitHub
parent 30d3de31c1
commit e7c32a5d56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,9 +58,13 @@ fi
# Replace backports with pip
if is_buster; then
if [ ! -f /opt/borg-env/buster ] ; then
rm -f /etc/apt/sources.list.d/$app-stretch-backports.list
ynh_secure_remove /opt/borg-env
install_borg_with_pip
touch /opt/borg-env/buster
fi
fi
#=================================================