mirror of https://github.com/linuxdeepin/linglong
fix: correct creating parent directory of layerDir
Signed-off-by: black-desk <me@black-desk.cn>
This commit is contained in:
parent
200a1c4998
commit
07220668d5
|
|
@ -355,9 +355,6 @@ utils::error::Result<void> handleRepositoryUpdate(OstreeRepo *repo,
|
|||
if (!layerDir.mkpath(".")) {
|
||||
Q_ASSERT(false);
|
||||
}
|
||||
if (!layerDir.cdUp()) {
|
||||
Q_ASSERT(false);
|
||||
}
|
||||
if (!layerDir.removeRecursively()) {
|
||||
Q_ASSERT(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue