mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
.
This commit is contained in:
parent
f18dc02459
commit
42ceffa2e9
1 changed files with 1 additions and 2 deletions
|
@ -26,7 +26,6 @@ import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import tempfile
|
import tempfile
|
||||||
import platform
|
|
||||||
|
|
||||||
from libcalamares import *
|
from libcalamares import *
|
||||||
|
|
||||||
|
@ -282,7 +281,7 @@ def run():
|
||||||
|
|
||||||
destination = os.path.abspath(root_mount_point + entry["destination"])
|
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)
|
return "Bad source", "source=\"{}\"".format(source)
|
||||||
|
|
||||||
if not os.path.isdir(destination):
|
if not os.path.isdir(destination):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue