mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
parent
e5caac7768
commit
ee2ed0921e
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ def run():
|
|||
|
||||
destination = os.path.abspath(root_mount_point + entry["destination"])
|
||||
|
||||
if not os.path.isfile(source):
|
||||
if not os.path.exists(source) or os.path.isdir(source):
|
||||
return ("Bad source", "source=\"{}\"".format(source))
|
||||
if not os.path.isdir(destination):
|
||||
return ("Bad destination",
|
||||
|
|
Loading…
Add table
Reference in a new issue