mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-22 12:27:41 +00:00
11 lines
416 B
Bash
Executable File
11 lines
416 B
Bash
Executable File
#! /bin/bash
|
|
|
|
VERSION="3.3.0"
|
|
|
|
curl -L -o "$TMP_DIR/NerdFontsSymbolsOnly.tar.xz" "https://github.com/ryanoasis/nerd-fonts/releases/download/v${VERSION}/NerdFontsSymbolsOnly.tar.xz"
|
|
if [[ "$UNAME_STR" == "Darwin" ]]; then
|
|
tar -xzvf "$TMP_DIR/NerdFontsSymbolsOnly.tar.xz" -C ~/Library/Fonts/
|
|
elif [[ "$UNAME_STR" == "Linux" ]]; then
|
|
tar -xzvf "$TMP_DIR/NerdFontsSymbolsOnly.tar.xz" -C ~/.local/share/fonts/
|
|
fi
|