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