From 668e58626dfdb1077f3e1eb47187f6071d3ed302 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Tue, 10 Jan 2006 18:19:06 +0000 Subject: added ALLDEPS transaction flag mainly to handle "makepkg -s" --- lib/libalpm/sync.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/libalpm/sync.c') 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) { -- cgit v1.2.3-24-g4f1b