From c10c6f3b2a68e67839fee753272f74abf91c2475 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Fri, 5 Jul 2024 06:23:16 +0900 Subject: [PATCH] _ Signed-off-by: Sora Morimoto --- .gitignore | 4 ++++ download-fonts.sh | 3 ++- temp/.gitignore | 3 --- 3 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 temp/.gitignore diff --git a/.gitignore b/.gitignore index 94958051d..8fdd2b02e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ /_build/ /_opam/ +/lib-satysfi/dist/fonts/ +/temp/IPAexfont00401/ +/temp/latinmodern-math-1959/ +/temp/*.zip diff --git a/download-fonts.sh b/download-fonts.sh index 395a754de..154efeebb 100755 --- a/download-fonts.sh +++ b/download-fonts.sh @@ -38,8 +38,9 @@ download_file() { show_message "'$NAME' found in '$CACHE/'." else show_message "downloading '$NAME' ..." - wget --no-check-certificate --output "$CACHE/$NAME" "$URL" + wget --no-check-certificate --output-document "$CACHE/$NAME" "$URL" show_message "finished downloading '$NAME'." + validate_file "$NAME" fi ) } diff --git a/temp/.gitignore b/temp/.gitignore deleted file mode 100644 index a872f3e09..000000000 --- a/temp/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.zip -latinmodern-math-1959/ -IPAexfont00301/