Config
- When creating <rc.data.location>, also creates the hook subdirectory.
This commit is contained in:
@@ -566,6 +566,9 @@ void Config::createDefaultData (const std::string& data)
|
|||||||
throw std::string ("Error: rc.data.location does not exist - exiting according to rc.exit.on.missing.db setting.");
|
throw std::string ("Error: rc.data.location does not exist - exiting according to rc.exit.on.missing.db setting.");
|
||||||
|
|
||||||
d.create ();
|
d.create ();
|
||||||
|
|
||||||
|
d += "hooks";
|
||||||
|
d.create ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user