From fbea96fd72939013a7d3440260f4be105cf5c819 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Thu, 16 Feb 2006 21:07:59 +0000 Subject: code cleanup --- lib/libalpm/add.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/add.c') diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 25b44e45..800cc0df 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -416,7 +416,7 @@ int add_commit(pmtrans_t *trans, pmdb_t *db) notouch = 1; } else { if(!pmo_upgrade || oldpkg == NULL) { - nb = pm_list_is_strin(pathname, info->backup) ? 1 : 0; + nb = pm_list_is_strin(pathname, info->backup); } else { /* op == PM_TRANS_TYPE_UPGRADE */ md5_orig = _alpm_needbackup(pathname, oldpkg->backup); -- cgit v1.2.3-70-g09d2