Fix: Create store directory as well
This commit is contained in:
parent
835c003491
commit
8f1d3c4ffb
1 changed files with 8 additions and 2 deletions
|
@ -94,8 +94,14 @@ fn main() {
|
|||
.expect("Failed to retrieve/build path for imag directory.")
|
||||
});
|
||||
|
||||
let _ = ::std::fs::create_dir_all(path.clone())
|
||||
{
|
||||
let mut store_path = path.clone();
|
||||
store_path.push("store");
|
||||
println!("Creating {}", store_path.display());
|
||||
|
||||
let _ = ::std::fs::create_dir_all(store_path)
|
||||
.expect("Failed to create directory");
|
||||
}
|
||||
|
||||
let config_path = {
|
||||
let mut config_path = path.clone();
|
||||
|
|
Loading…
Reference in a new issue