code cleanup
This commit is contained in:
parent
0e72c49921
commit
de5e40bcd8
1 changed files with 2 additions and 1 deletions
|
@ -415,7 +415,8 @@ int add_commit(pmtrans_t *trans, pmdb_t *db)
|
|||
nb = pm_list_is_strin(pathname, info->backup) ? 1 : 0;
|
||||
} else {
|
||||
/* op == PM_TRANS_TYPE_UPGRADE */
|
||||
if((md5_orig = _alpm_needbackup(pathname, oldpkg->backup)) != 0) {
|
||||
md5_orig = _alpm_needbackup(pathname, oldpkg->backup);
|
||||
if(md5_orig) {
|
||||
nb = 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue