index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-01-10 13:40:31 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-21 19:30:45 -0600 |
commit | bf46e04614b3740eea4a5e0d44767f57e1cffa4d (patch) | |
tree | 4a1fb5d578a539e42a1d73de1b3d83edbf17a58a /lib/libalpm/be_package.c | |
parent | 5c46ba14f780474e2b04b54aa7b0c8bf60de2b5b (diff) |
-rw-r--r-- | lib/libalpm/be_package.c | 7 |
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index b69161b4..c272bd47 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -184,13 +184,6 @@ 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") == 0) { STRDUP(newpkg->desc, ptr, RET_ERR(PM_ERR_MEMORY, -1)); - } else if(strcmp(key, "force") == 0) { - /* For backward compatibility, like in sync_db_read */ - if(!newpkg->epoch) { - newpkg->epoch = 1; - } - } else if(strcmp(key, "epoch") == 0) { - newpkg->epoch = atoi(ptr); } else if(strcmp(key, "group") == 0) { newpkg->groups = alpm_list_add(newpkg->groups, strdup(ptr)); } else if(strcmp(key, "url") == 0) { |