added new font and fixed potential downloading issue
This commit is contained in:
parent
87a12e0298
commit
063205f024
1 changed files with 8 additions and 7 deletions
15
setup.sh
15
setup.sh
|
@ -226,6 +226,13 @@ setup_dotnet() {
|
||||||
setup_fonts() {
|
setup_fonts() {
|
||||||
log "installing fonts"
|
log "installing fonts"
|
||||||
|
|
||||||
|
package_install \
|
||||||
|
wget `# for downloading zip files` \
|
||||||
|
noto-fonts-emoji \
|
||||||
|
nerd-fonts-noto-sans-mono `# Terminal font` \
|
||||||
|
adobe-source-han-sans-kr-fonts `# Korean font` \
|
||||||
|
ttf-baekmuk `# Korean font` \
|
||||||
|
|
||||||
# path to temporarily save font related files
|
# path to temporarily save font related files
|
||||||
fonts_directory="$SCRIPT_DIR/tmp/fonts"
|
fonts_directory="$SCRIPT_DIR/tmp/fonts"
|
||||||
|
|
||||||
|
@ -235,6 +242,7 @@ setup_fonts() {
|
||||||
"Comfortaa"
|
"Comfortaa"
|
||||||
"Nanum Gothic"
|
"Nanum Gothic"
|
||||||
"Source Code Pro"
|
"Source Code Pro"
|
||||||
|
"Varela Round"
|
||||||
)
|
)
|
||||||
|
|
||||||
# create fonts directory if it does not exist
|
# create fonts directory if it does not exist
|
||||||
|
@ -271,13 +279,6 @@ setup_fonts() {
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
rm -rf $fonts_directory
|
rm -rf $fonts_directory
|
||||||
|
|
||||||
package_install \
|
|
||||||
noto-fonts-emoji \
|
|
||||||
nerd-fonts-noto-sans-mono `# Terminal font` \
|
|
||||||
adobe-source-han-sans-kr-fonts `# Korean font` \
|
|
||||||
ttf-baekmuk `# Korean font` \
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_dns() {
|
setup_dns() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue