mirror of
https://github.com/ChrisTitusTech/mybash.git
synced 2026-04-03 11:08:28 +00:00
feat: only progress bar
display only progress while downloading.
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -149,7 +149,7 @@ installDepend() {
|
||||
# check if the file is accessible
|
||||
if wget -q --spider "$FONT_URL"; then
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
wget $FONT_URL -O "$TEMP_DIR"/"${FONT_NAME}".zip
|
||||
wget -q --show-progress $FONT_URL -O "$TEMP_DIR"/"${FONT_NAME}".zip
|
||||
unzip "$TEMP_DIR"/"${FONT_NAME}".zip -d "$TEMP_DIR"
|
||||
mkdir -p "$FONT_DIR"/"$FONT_NAME"
|
||||
mv "${TEMP_DIR}"/*.ttf "$FONT_DIR"/"$FONT_NAME"
|
||||
|
||||
Reference in New Issue
Block a user