Skip to content

Commit 93c4bcd

Browse files
authored
Merge pull request #107 from sontungexpt/main
Wrap all fonts into Monaspace folder when installing fonts in linux
2 parents 8ea9183 + b064a63 commit 93c4bcd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

util/install_linux.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ mkdir -p ~/.local/share/fonts
66
# remove all fonts from ~/.local/share/fonts that start with "Monaspace"
77
rm -rf ~/.local/share/fonts/Monaspace*
88

9+
mkdir -p ~/.local/share/fonts/Monaspace/
10+
911
# copy all fonts from ./otf to ~/.local/share/fonts
10-
cp ./fonts/otf/* ~/.local/share/fonts
12+
cp ./fonts/otf/* ~/.local/share/fonts/Monaspace/
1113

1214
# copy variable fonts from ./variable to ~/.local/share/fonts
13-
cp ./fonts/variable/* ~/.local/share/fonts
15+
cp ./fonts/variable/* ~/.local/share/fonts/Monaspace/
1416

1517
# Build font information caches
1618
fc-cache -f

0 commit comments

Comments
 (0)