index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/alpm.h | 4 |
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 61a1aa3e..79eb9d20 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -150,8 +150,8 @@ enum { }; /* reasons -- ie, why the package was installed */ -#define PM_PKG_REASON_EXPLICIT 1 /* explicitly requested by the user */ -#define PM_PKG_REASON_DEPEND 2 /* installed as a dependency for another package */ +#define PM_PKG_REASON_EXPLICIT 0 /* explicitly requested by the user */ +#define PM_PKG_REASON_DEPEND 1 /* installed as a dependency for another package */ void *alpm_pkg_getinfo(PM_PKG *pkg, unsigned char parm); int alpm_pkg_load(char *filename, PM_PKG **pkg); |