summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-10 18:19:06 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-10 18:19:06 +0000
commit668e58626dfdb1077f3e1eb47187f6071d3ed302 (patch)
treeaae9dc8dcb8ab98cf6a7c8e72e7309500872c181 /lib/libalpm/package.c
parentec305c14439ac0c6eeee66bd99c9bcf8ab72577f (diff)
downloadpacman-668e58626dfdb1077f3e1eb47187f6071d3ed302.tar.xz
added ALLDEPS transaction flag mainly to handle "makepkg -s"
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index 784b9b07..eda87f18 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -62,7 +62,7 @@ pmpkg_t *pkg_new(const char *name, const char *version)
pkg->size = 0;
pkg->scriptlet = 0;
pkg->force = 0;
- pkg->reason = 0;
+ pkg->reason = PM_PKG_REASON_EXPLICIT;
pkg->requiredby = NULL;
pkg->conflicts = NULL;
pkg->files = NULL;