[libalpm: in _alpm_sync_prepare(), don't check for free space in case
PM_TRANS_FLAG_NOCONFLICTS is set
VMiklos <[EMAIL PROTECTED]>**20060803222628] {
hunk ./lib/libalpm/sync.c 765
- if(_alpm_check_freespace(trans, data) == -1) {
- /* pm_errno is set by check_freespace */
- ret = -1;
- goto cleanup;
+ /* check for free space only in case the packages will be extracted */
+ if(!(trans->flags & PM_TRANS_FLAG_NOCONFLICTS)) {
+ if(_alpm_check_freespace(trans, data) == -1) {
+ /* pm_errno is set by check_freespace */
+ ret = -1;
+ goto cleanup;
+ }
}
_______________________________________________
Frugalware-darcs mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-darcs