summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-08-19 17:58:03 +0200
committerDan McGee <dan@archlinux.org>2009-09-06 15:51:25 -0500
commit5b27e78ba015a48baf2d3c8687fdf3084781f9c9 (patch)
tree8e9d5e4201dcebc700ccf914057d038e596ec057 /lib/libalpm/alpm.h
parent594621cbeb2f27ce8d36e652c4fdd9a9d4385ec3 (diff)
downloadpacman-5b27e78ba015a48baf2d3c8687fdf3084781f9c9.tar.xz
Check package arch before installing
This implements FS#15622 Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index b81b3f83..1a83f725 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -510,6 +510,7 @@ enum _pmerrno_t {
PM_ERR_PKG_OPEN,
PM_ERR_PKG_CANT_REMOVE,
PM_ERR_PKG_INVALID_NAME,
+ PM_ERR_PKG_INVALID_ARCH,
PM_ERR_PKG_REPO_NOT_FOUND,
/* Deltas */
PM_ERR_DLT_INVALID,