mirror of
https://github.com/creating2morrow/neveko.git
synced 2024-12-22 19:49:24 +00:00
cleanup utils imports
This commit is contained in:
parent
4f5ad19c7b
commit
15111ebc6d
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
use rand_core::RngCore;
|
||||
use clap::Parser;
|
||||
use rocket::serde::json::Json;
|
||||
use crate::{args, db, i2p, message, models, monero, gpg, utils, reqres, MONERO_RELEASE_VERSION };
|
||||
use crate::{args, db, i2p, message, models, monero, gpg, utils, reqres };
|
||||
use log::{info, debug, error, warn};
|
||||
use std::time::Duration;
|
||||
|
||||
|
@ -421,7 +421,7 @@ pub async fn install_software(installations: Installations) {
|
|||
debug!("{:?}", curl_output);
|
||||
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
|
||||
let tar_output = std::process::Command::new("tar")
|
||||
.args(["-xvf", MONERO_RELEASE_VERSION])
|
||||
.args(["-xvf", crate::MONERO_RELEASE_VERSION])
|
||||
.spawn()
|
||||
.expect("monero tar extraction failed");
|
||||
debug!("{:?}", tar_output.stdout);
|
||||
|
|
Loading…
Reference in a new issue