Actually install Google Fonts in module 07
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user