From 980997c3441f52a5a4f79326c86e9a93a0a35853 Mon Sep 17 00:00:00 2001 From: kaa Date: Mon, 1 Sep 2025 22:09:12 -0700 Subject: Font metadata --- lib/font/graphics/zip/dl.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 lib/font/graphics/zip/dl.sh (limited to 'lib/font/graphics/zip/dl.sh') diff --git a/lib/font/graphics/zip/dl.sh b/lib/font/graphics/zip/dl.sh new file mode 100755 index 0000000..c482ca9 --- /dev/null +++ b/lib/font/graphics/zip/dl.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +< list sort -R | while read -r url +do + file="$(echo "$url" | sed -e "s|.*/||")" + if ! [ -f "$file" ] + then + curl -LO "$url" + case "$file" in + *.tar.*) + tar xf "$file" + ;; + *) + dir="${file%.*}" + mkdir $dir + cd $dir + 7z e ../"$file" + cd .. + ;; + esac + fi +done -- cgit v1.2.3