From 012d63d9694174bf93d8050b66981c76ec317c50 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Wed, 9 Aug 2023 14:32:30 -0400 Subject: [PATCH] Fix script locations --- GFontInstaller.sh | 4 ++-- fontupdater.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GFontInstaller.sh b/GFontInstaller.sh index cfd3e71..88dcdfa 100755 --- a/GFontInstaller.sh +++ b/GFontInstaller.sh @@ -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 diff --git a/fontupdater.sh b/fontupdater.sh index b55d4dc..143b7c9 100644 --- a/fontupdater.sh +++ b/fontupdater.sh @@ -1,8 +1,8 @@ #!/bin/bash #Source config file -. ${PWD}/config +. /opt/gfontinstallermac/config #Move to font directory cd /Users/$USER/Library/Fonts/google-fonts -sudo -u $USER git pull \ No newline at end of file +sudo -u $USER git pull