Don't check diskspace when using --dbonly
Mostly a waste of time. Sure, we no longer make sure your pacman
database partition has enough space, but if you are using this option
you better know what you are doing anyway.
Signed-off-by: Dan McGee <dan@archlinux.org>
(cherry picked from commit ee96900605
)
This commit is contained in:
parent
fe659153d5
commit
78adb71f20
1 changed files with 1 additions and 1 deletions
|
@ -1137,7 +1137,7 @@ int _alpm_sync_commit(alpm_handle_t *handle, alpm_list_t **data)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check available disk space */
|
/* check available disk space */
|
||||||
if(handle->checkspace) {
|
if(handle->checkspace && !(trans->flags & ALPM_TRANS_FLAG_DBONLY)) {
|
||||||
EVENT(handle, ALPM_EVENT_DISKSPACE_START, NULL, NULL);
|
EVENT(handle, ALPM_EVENT_DISKSPACE_START, NULL, NULL);
|
||||||
|
|
||||||
_alpm_log(handle, ALPM_LOG_DEBUG, "checking available disk space\n");
|
_alpm_log(handle, ALPM_LOG_DEBUG, "checking available disk space\n");
|
||||||
|
|
Loading…
Add table
Reference in a new issue