Browse Source

Manager: Create package list file if non-existent

master
Riyyi 3 years ago
parent
commit
42b34aad61
  1. 2
      src/package.cpp

2
src/package.cpp

@ -63,7 +63,7 @@ void Package::store()
{ {
std::string packages = getPackageList(); std::string packages = getPackageList();
auto packageFile = Util::File("./packages"); auto packageFile = Util::File::create("./packages");
packageFile.clear(); packageFile.clear();
packageFile.append(packages); packageFile.append(packages);
packageFile.flush(); packageFile.flush();

Loading…
Cancel
Save