diff --git a/util/install_linux.sh b/util/install_linux.sh index b1ece38..c6cf6d4 100755 --- a/util/install_linux.sh +++ b/util/install_linux.sh @@ -1,4 +1,5 @@ #!/bin/bash +UTIL_DIR="$(dirname $0)" # ensure that ~/.local/share/fonts exists mkdir -p ~/.local/share/fonts @@ -8,6 +9,8 @@ rm -rf ~/.local/share/fonts/Monaspace* mkdir -p ~/.local/share/fonts/Monaspace/ +cd "$UTIL_DIR/.." + # copy all fonts from ./otf to ~/.local/share/fonts cp ./fonts/otf/* ~/.local/share/fonts/Monaspace/