mirror of
https://github.com/KDE/kde-linux.git
synced 2026-04-18 21:48:23 -04:00
don't copy into etc if it already exists
This commit is contained in:
@@ -72,6 +72,7 @@ fn run(root: &Path, usr: &Path) -> Result<(), Box<dyn Error>> {
|
||||
.arg("--recursive")
|
||||
.arg("--archive")
|
||||
.arg("--reflink=auto")
|
||||
.arg("--no-target-directory")
|
||||
.arg(&lower_path)
|
||||
.arg(dir)
|
||||
.status()
|
||||
@@ -87,6 +88,7 @@ fn run(root: &Path, usr: &Path) -> Result<(), Box<dyn Error>> {
|
||||
.arg("--recursive")
|
||||
.arg("--archive")
|
||||
.arg("--reflink=auto")
|
||||
.arg("--no-target-directory")
|
||||
.arg(&dir_path)
|
||||
.arg(dir)
|
||||
.status().expect("Failed to copy upper dir");
|
||||
|
||||
Reference in New Issue
Block a user