diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-10 18:19:06 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-10 18:19:06 +0000 |
commit | 668e58626dfdb1077f3e1eb47187f6071d3ed302 (patch) | |
tree | aae9dc8dcb8ab98cf6a7c8e72e7309500872c181 /lib/libalpm/sync.c | |
parent | ec305c14439ac0c6eeee66bd99c9bcf8ab72577f (diff) |
added ALLDEPS transaction flag mainly to handle "makepkg -s"
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r-- | lib/libalpm/sync.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 7908a484..f508b47b 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -690,11 +690,7 @@ int sync_commit(pmtrans_t *trans, pmdb_t *db_local, PMList **data) * end of the tr->packages list */ spkg = _alpm_list_last(tr->packages)->data; if(sync->type == PM_SYNC_TYPE_DEPEND) { - /* ORE - * if called from makepkg, reason should be set to PM_PKG_REASON_DEPEND */ spkg->reason = PM_PKG_REASON_DEPEND; - } else { - spkg->reason = PM_PKG_REASON_EXPLICIT; } } if(trans_prepare(tr, data) == -1) { |