From 80918ba9a9753ee99e2331e3bd00634786f8b62d Mon Sep 17 00:00:00 2001 From: "T. R. Bernstein" <137705289+trbernstein@users.noreply.github.com> Date: Thu, 4 Jul 2024 04:20:34 +0200 Subject: [PATCH] Actually install Google Fonts in module 07 --- modules/07-install-fonts.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/07-install-fonts.sh b/modules/07-install-fonts.sh index de8f32b..cd6169c 100755 --- a/modules/07-install-fonts.sh +++ b/modules/07-install-fonts.sh @@ -4,13 +4,14 @@ function installGoogleFonts() { local fontsDir=/Library/Fonts/Google-Fonts [[ -d ${fontsDir} ]] && return - 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 File Permissions' find ${fontsDir} -type f -mindepth 1 -exec chmod g+rw,o+r {} \; + 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 File Permissions' find ${fontsDir} -type f -mindepth 1 -exec chmod g+rw,o+r {} \; } function configure_system() { lop -y h1 -- -i 'Install Fonts' + installGoogleFonts } function getExecPrerequisites() {