This commit is contained in:
hmikihth 2016-06-05 13:16:31 +01:00
parent f18dc02459
commit 42ceffa2e9

View File

@ -26,7 +26,6 @@ import shutil
import subprocess
import sys
import tempfile
import platform
from libcalamares import *
@ -282,7 +281,7 @@ def run():
destination = os.path.abspath(root_mount_point + entry["destination"])
if not os.path.exists(source) or (os.path.isdir(source) and platform.dist()[0] != "blackPanther"):
if not os.path.exists(source):
return "Bad source", "source=\"{}\"".format(source)
if not os.path.isdir(destination):