mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
unsquashfs: Fix installation dir
This commit is contained in:
parent
45101d15b0
commit
edc70c596b
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@ def file_copy(source, dest, progress_cb):
|
|||
at_env = os.environ
|
||||
at_env["LC_ALL"] = "C"
|
||||
|
||||
# `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".
|
||||
source += "/"
|
||||
|
||||
process = subprocess.Popen(['rsync', '-ar', '--progress', source, dest],
|
||||
env=at_env,
|
||||
bufsize=1,
|
||||
|
|
Loading…
Add table
Reference in a new issue