Merge commit 'ba315abda7
' into sync_cg_clif-2025-03-30
This commit is contained in:
commit
1111a97886
41 changed files with 533 additions and 1419 deletions
|
@ -91,6 +91,13 @@ impl GitRepo {
|
|||
|
||||
fn verify_checksum(&self, dirs: &Dirs) {
|
||||
let download_dir = self.download_dir(dirs);
|
||||
if !download_dir.exists() {
|
||||
eprintln!(
|
||||
"Missing directory {download_dir}: Please run ./y.sh prepare to download.",
|
||||
download_dir = download_dir.display(),
|
||||
);
|
||||
std::process::exit(1);
|
||||
}
|
||||
let actual_hash = format!("{:016x}", hash_dir(&download_dir));
|
||||
if actual_hash != self.content_hash {
|
||||
eprintln!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue