Compare commits
2 Commits
1dac309bb5
...
0e61d31f43
Author | SHA1 | Date |
---|---|---|
Skye Bleed | 0e61d31f43 | |
Skye Bleed | 7f9d450e05 |
|
@ -5,13 +5,13 @@ Extremely in progress
|
||||||
This has hardly been worked on and is essentially useless at its current state. Please don't use this unless you plan on developing it.
|
This has hardly been worked on and is essentially useless at its current state. Please don't use this unless you plan on developing it.
|
||||||
|
|
||||||
### TODO
|
### TODO
|
||||||
[ ] Parse cmdline options well, including parsing the package name from the package repo
|
[\*] Parse cmdline options well, including parsing the package name from the package repo
|
||||||
|
|
||||||
[ ] Make a KO
|
|
||||||
|
|
||||||
[ ] Correctly download from several repos
|
[ ] Correctly download from several repos
|
||||||
|
|
||||||
[ ] Unpack tarballs of various types
|
[\*] Unpack tarballs of various types
|
||||||
|
|
||||||
|
[ ] Correctly install binaries in system
|
||||||
|
|
||||||
[ ] More, probably
|
[ ] More, probably
|
||||||
|
|
||||||
|
|
|
@ -69,8 +69,7 @@ fn main() -> Result<(), std::io::Error> {
|
||||||
|
|
||||||
resp.copy_to(&mut file).expect("failed to write file");
|
resp.copy_to(&mut file).expect("failed to write file");
|
||||||
} else {
|
} else {
|
||||||
println!("FAIL!");
|
err_and_exit(format!("Request was unsuccessful...did you request from the correct repo?\nStatus is: \"{}\"", resp.status()), 0)
|
||||||
std::process::exit(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let spltdirname: Vec<&str> = pkgname.split(".").collect();
|
let spltdirname: Vec<&str> = pkgname.split(".").collect();
|
||||||
|
|
Loading…
Reference in New Issue