Commit 5e6a443c authored by segfault's avatar segfault

Fix log message

parent b4ae1901
......@@ -98,11 +98,10 @@ setup(
# Install base container rootfs if we don't run in Tails
if not os.path.exists("/etc/amnesia"):
print("Installing base container rootfs")
if base_rootfs.exists():
print("WARNING: Not installing base container rootfs: directory '%s' already exists" % base_rootfs)
else:
print("Installing base container rootfs")
with TemporaryDirectory() as tmpdir:
sh.debootstrap("--include=%s" % ",".join(CONTAINER_ADDITIONAL_PACKAGES), CONTAINER_DEBIAN_RELEASE, tmpdir,
_out=sys.stdout.buffer, _err=sys.stderr.buffer)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment