From 973abf5c8ca99a416168f488a783221c99052d30 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Mon, 11 Jan 2021 15:59:14 -0500 Subject: [PATCH] Fix installation and updater setup --- GFontInstaller.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) mode change 100644 => 100755 GFontInstaller.sh diff --git a/GFontInstaller.sh b/GFontInstaller.sh old mode 100644 new mode 100755 index ee5fb9b..cfd3e71 --- a/GFontInstaller.sh +++ b/GFontInstaller.sh @@ -20,12 +20,15 @@ do case $opt in "Daily (Not Recommended)") updatefreq=daily + break ;; "Weekly") updatefreq=weekly + break ;; "Monthly") updatefreq=monthly + break ;; "Quit") break @@ -54,7 +57,7 @@ popd #Setup auto-update mkdir -p /usr/local/etc/periodic/$updatefreq -ln -sf /usr/local/etc/periodic/$updatefreq/fontupdater /opt/gfontinstallermac/fontupdater.sh +ln -sf /opt/gfontinstallermac/fontupdater.sh /usr/local/etc/periodic/$updatefreq/fontupdater #Finished -echo "Google Fonts installed in /Users/$username/Library/Fonts and set to update $updatefreq." \ No newline at end of file +echo "Google Fonts installed in /Users/$username/Library/Fonts and set to update $updatefreq."