summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-02-04 11:52:22 +0200
committerTimo Teräs <timo.teras@iki.fi>2015-02-04 11:54:08 +0200
commit4c1cdf5b9cf424af8e8f74b305f625c711d4c773 (patch)
tree757e53d8d5af425eccd3ca38e31078a8743f3079
parent43182c02f488a36f08310d74d40e3ff03b691775 (diff)
downloadapk-tools-4c1cdf5b9cf424af8e8f74b305f625c711d4c773.tar.gz
apk-tools-4c1cdf5b9cf424af8e8f74b305f625c711d4c773.tar.bz2
apk-tools-4c1cdf5b9cf424af8e8f74b305f625c711d4c773.tar.xz
apk-tools-4c1cdf5b9cf424af8e8f74b305f625c711d4c773.zip
remove old compat. field entry from installed db handling
Package pinning was first implemented with 'p' tag. However, it was before any release renamed to 's', and 'p' was reserved for package provides support for which is used now.
-rw-r--r--src/database.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c
index 09454c1..25cf6cd 100644
--- a/src/database.c
+++ b/src/database.c
@@ -832,7 +832,6 @@ int apk_db_index_read(struct apk_database *db, struct apk_bstream *bs, int repo)
case 'q':
ipkg->replaces_priority = apk_blob_pull_uint(&l, 10);
break;
- case 'p':
case 's':
ipkg->repository_tag = apk_db_get_tag_id(db, l);
break;