Manager: Create package list file if non-existent
This commit is contained in:
+1
-1
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user