Fix script locations
This commit is contained in:
parent
973abf5c8c
commit
012d63d969
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/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
|
#Check for root
|
||||||
if [[ $EUID -ne "0" ]]
|
if [[ $EUID -ne "0" ]]
|
||||||
@ -40,7 +40,7 @@ done
|
|||||||
#Setup directory in /opt and fetch script
|
#Setup directory in /opt and fetch script
|
||||||
mkdir -p /opt/gfontinstallermac
|
mkdir -p /opt/gfontinstallermac
|
||||||
|
|
||||||
wget -o $SCRIPTLOC /opt/gfontinstallermac/fontupdater.sh
|
wget -O /opt/gfontinstallermac/fontupdater.sh $SCRIPTLOC
|
||||||
|
|
||||||
chmod +x /opt/gfontinstallermac/fontupdater.sh
|
chmod +x /opt/gfontinstallermac/fontupdater.sh
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#Source config file
|
#Source config file
|
||||||
. ${PWD}/config
|
. /opt/gfontinstallermac/config
|
||||||
|
|
||||||
#Move to font directory
|
#Move to font directory
|
||||||
cd /Users/$USER/Library/Fonts/google-fonts
|
cd /Users/$USER/Library/Fonts/google-fonts
|
||||||
|
Loading…
Reference in New Issue
Block a user