mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
Fix mishandling of extraction return status in commit.
This commit is contained in:
parent
280a2265d9
commit
306e292622
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21775
@ -710,6 +710,8 @@ installCommit(dialogMenuItem *self)
|
||||
i = distExtractAll(self);
|
||||
if (DITEM_STATUS(i) == DITEM_SUCCESS && (!need_bin || !(Dists & DIST_BIN)))
|
||||
i = installFixup(self);
|
||||
else
|
||||
i = DITEM_FAILURE;
|
||||
variable_set2(SYSTEM_STATE, DITEM_STATUS(i) == DITEM_FAILURE ? "error-install" : "full-install");
|
||||
return i | DITEM_RECREATE;
|
||||
}
|
||||
|
@ -710,6 +710,8 @@ installCommit(dialogMenuItem *self)
|
||||
i = distExtractAll(self);
|
||||
if (DITEM_STATUS(i) == DITEM_SUCCESS && (!need_bin || !(Dists & DIST_BIN)))
|
||||
i = installFixup(self);
|
||||
else
|
||||
i = DITEM_FAILURE;
|
||||
variable_set2(SYSTEM_STATE, DITEM_STATUS(i) == DITEM_FAILURE ? "error-install" : "full-install");
|
||||
return i | DITEM_RECREATE;
|
||||
}
|
||||
|
@ -710,6 +710,8 @@ installCommit(dialogMenuItem *self)
|
||||
i = distExtractAll(self);
|
||||
if (DITEM_STATUS(i) == DITEM_SUCCESS && (!need_bin || !(Dists & DIST_BIN)))
|
||||
i = installFixup(self);
|
||||
else
|
||||
i = DITEM_FAILURE;
|
||||
variable_set2(SYSTEM_STATE, DITEM_STATUS(i) == DITEM_FAILURE ? "error-install" : "full-install");
|
||||
return i | DITEM_RECREATE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user