add the full borg binary

This commit is contained in:
Andreas Zweili 2016-12-16 17:11:58 +01:00
parent 49948ca543
commit 1a6d03a432
3 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash
PATH=$PATH:borg_interface/bin/
source borg_interface/bin/activate
python3 borg_interface/main.py
exit 0

Binary file not shown.

View File

@ -57,8 +57,7 @@ def mount_archive():
int_vars.mount_point = os.path.join('/tmp', archive_name)
if not os.path.exists(int_vars.mount_point):
os.makedirs(int_vars.mount_point)
p = subprocess.Popen(['borg', 'mount', '::' + archive_name,
int_vars.mount_point])
p = subprocess.Popen(['borg', 'mount', '::' + archive_name, int_vars.mount_point])
p.wait()
draw_screen(2, 2, "Archive mounted at " + int_vars.mount_point + "/.")
screen.addstr(3, 2, "The archive will remain mounted as long this programm "