Actually install Google Fonts in module 07

This commit is contained in:
T. R. Bernstein
2024-07-04 04:20:34 +02:00
parent 9b3f5ca5d1
commit 80918ba9a9

View File

@@ -4,13 +4,14 @@
function installGoogleFonts() { function installGoogleFonts() {
local fontsDir=/Library/Fonts/Google-Fonts local fontsDir=/Library/Fonts/Google-Fonts
[[ -d ${fontsDir} ]] && return [[ -d ${fontsDir} ]] && return
indicateActivity 'Download Google Fonts' git clone "${git_google_fonts}" "${fontsDir}" indicateActivity -- 'Download Google Fonts' git clone "${git_google_fonts}" "${fontsDir}"
indicateActivity 'Fix Directory Permissions' find ${fontsDir} -type d -mindepth 1 -exec chmod g+rwx,o+rx {} \; indicateActivity -- 'Fix Directory Permissions' find ${fontsDir} -type d -mindepth 1 -exec chmod g+rwx,o+rx {} \;
indicateActivity 'Fix File Permissions' find ${fontsDir} -type f -mindepth 1 -exec chmod g+rw,o+r {} \; indicateActivity -- 'Fix File Permissions' find ${fontsDir} -type f -mindepth 1 -exec chmod g+rw,o+r {} \;
} }
function configure_system() { function configure_system() {
lop -y h1 -- -i 'Install Fonts' lop -y h1 -- -i 'Install Fonts'
installGoogleFonts
} }
function getExecPrerequisites() { function getExecPrerequisites() {