index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-10-11 17:48:11 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-11 17:48:11 -0500 |
commit | 3a06a9fa9fafe705bfb79c23dd75ca226b22026c (patch) | |
tree | 69f3b7d2c28f4f552af52caf8cb13bc6b1d4edb5 | |
parent | 283ef6519aa20b8c63c9b916573b5f243ff7be2e (diff) |
-rw-r--r-- | lib/libalpm/be_package.c | 2 |
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index 38cf357a..ff266ae8 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -75,6 +75,8 @@ static int parse_descfile(struct archive *a, pmpkg_t *newpkg) STRDUP(newpkg->version, ptr, RET_ERR(PM_ERR_MEMORY, -1)); } else if(!strcmp(key, "pkgdesc")) { STRDUP(newpkg->desc, ptr, RET_ERR(PM_ERR_MEMORY, -1)); + } else if(!strcmp(key, "force")) { + newpkg->force = 1; } else if(!strcmp(key, "group")) { newpkg->groups = alpm_list_add(newpkg->groups, strdup(ptr)); } else if(!strcmp(key, "url")) { |