mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
[unpackfs] Avoid double / at end
This commit is contained in:
parent
dc2fafe324
commit
9ce34782ee
1 changed files with 2 additions and 1 deletions
|
@ -99,6 +99,7 @@ def file_copy(source, dest, progress_cb):
|
|||
# `source` *must* end with '/' otherwise a directory named after the source
|
||||
# will be created in `dest`: ie if `source` is "/foo/bar" and `dest` is
|
||||
# "/dest", then files will be copied in "/dest/bar".
|
||||
if not source.endswith("/"):
|
||||
source += "/"
|
||||
|
||||
args = ['rsync', '-aHAXr']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue