index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-02-20 18:57:46 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-20 18:58:04 -0600 |
commit | 4bd52f3fe4d21fc4d54aba7b7c5d3134d69f9341 (patch) | |
tree | 0174e2bcf440f66cc94d75c4840bac3862bdb926 /lib/libalpm/sync.c | |
parent | 92ab7c33fb4d72eba070636f620f595dc4650ee9 (diff) | |
parent | 420c8846b984b5ca8ddd27ff7b799ec77fbbc2a4 (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 6 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 41011583..3a27f7cc 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -334,8 +334,10 @@ int _alpm_sync_addtarget(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sy alpm_pkg_get_name(local), alpm_pkg_get_version(local)); return(0); } else { - _alpm_log(PM_LOG_WARNING, _("%s-%s is up to date -- reinstalling\n"), - alpm_pkg_get_name(local), alpm_pkg_get_version(local)); + if(!(trans->flags & PM_TRANS_FLAG_DOWNLOADONLY)) { + _alpm_log(PM_LOG_WARNING, _("%s-%s is up to date -- reinstalling\n"), + alpm_pkg_get_name(local), alpm_pkg_get_version(local)); + } } } } |