index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-07-11 23:36:13 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-11 23:36:13 -0400 |
commit | 653fb8fe036363dfb550785c45adcf26f6fcbfbc (patch) | |
tree | 35dd58c28d317dc6346e1f7d5f1f219889b8604b /lib/libalpm/be_files.c | |
parent | 147a32b32de4ebcbb51c963f2573d9218d9a2eb9 (diff) |
-rw-r--r-- | lib/libalpm/be_files.c | 9 |
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index f0c0d5ef..7db9b260 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -356,11 +356,6 @@ int _alpm_db_read(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq) goto error; } _alpm_strtrim(info->builddate); - } else if(!strcmp(line, "%BUILDTYPE%")) { - if(fgets(info->buildtype, sizeof(info->buildtype), fp) == NULL) { - goto error; - } - _alpm_strtrim(info->buildtype); } else if(!strcmp(line, "%INSTALLDATE%")) { if(fgets(info->installdate, sizeof(info->installdate), fp) == NULL) { goto error; @@ -589,10 +584,6 @@ int _alpm_db_write(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq) fprintf(fp, "%%BUILDDATE%%\n" "%s\n\n", info->builddate); } - if(info->buildtype[0]) { - fprintf(fp, "%%BUILDTYPE%%\n" - "%s\n\n", info->buildtype); - } if(info->installdate[0]) { fprintf(fp, "%%INSTALLDATE%%\n" "%s\n\n", info->installdate); |