Compare commits

...

2 Commits

Author SHA1 Message Date
002240677f Update readme 2023-08-09 14:33:56 -04:00
012d63d969 Fix script locations 2023-08-09 14:32:30 -04:00
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
SCRIPTLOC="https://gogs.tfmm.co/tfmm/GFontInstallerMac/raw/master/fontupdater.sh"
SCRIPTLOC="https://gitlab.tfmm.co/tfmm/GFontInstallerMac/-/raw/master/fontupdater.sh"
#Check for root
if [[ $EUID -ne "0" ]]
@ -40,7 +40,7 @@ done
#Setup directory in /opt and fetch script
mkdir -p /opt/gfontinstallermac
wget -o $SCRIPTLOC /opt/gfontinstallermac/fontupdater.sh
wget -O /opt/gfontinstallermac/fontupdater.sh $SCRIPTLOC
chmod +x /opt/gfontinstallermac/fontupdater.sh

View File

@ -3,7 +3,7 @@
Google Font installer and updater for Mac. Tested on Big Sur. Requires git and wget to be installed.
## Installation
* Download the latest `GFontInstaller.sh` script from the [releases page](https://gogs.tfmm.co/tfmm/GFontInstallerMac/releases)
* Download the latest `GFontInstaller.sh` script.
* Run script as root: `sudo GFontInstaller.sh`
* Follow Prompts

View File

@ -1,7 +1,7 @@
#!/bin/bash
#Source config file
. ${PWD}/config
. /opt/gfontinstallermac/config
#Move to font directory
cd /Users/$USER/Library/Fonts/google-fonts