diff options
author | 2009-12-26 18:48:31 +0000 | |
---|---|---|
committer | 2009-12-26 18:48:31 +0000 | |
commit | c168ee42ab22b89a632714ed2632a4134812a5bb (patch) | |
tree | 222964a7074206434e2481dc75b74c4818206e89 /paludis | |
parent | 80d9890571ce00e2374ab7320ee037ad893dde74 (diff) | |
download | paludis-c168ee42ab22b89a632714ed2632a4134812a5bb.tar.gz paludis-c168ee42ab22b89a632714ed2632a4134812a5bb.tar.xz |
Update PF and CATEGORY files after moving
Diffstat (limited to 'paludis')
-rw-r--r-- | paludis/repositories/e/vdb_repository.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/repositories/e/vdb_repository.cc b/paludis/repositories/e/vdb_repository.cc index 73dd625c3..593f1fa44 100644 --- a/paludis/repositories/e/vdb_repository.cc +++ b/paludis/repositories/e/vdb_repository.cc @@ -1451,7 +1451,13 @@ VDBRepository::perform_updates() failed = true; } else + { from_dir.rename(to_dir); + SafeOFStream pf(to_dir / "PF"); + pf << m->second.package() << "-" << m->first->version() << std::endl; + SafeOFStream category(to_dir / "CATEGORY"); + category << m->second.category() << std::endl; + } } } else |