relocated source of functions after establishing location

This commit is contained in:
pyr0ball 2023-04-11 12:11:47 -07:00
parent 13eb96cb32
commit bcf74d9f05

View file

@ -6,9 +6,9 @@
# initial vars
VERSION=2.1.0
scripttitle="Pyr0ball's Reductive Bash Library Installer - v$VERSION"
source ${rundir}/functions
scriptname="${BASH_SOURCE[0]##*/}"
rundir="${BASH_SOURCE[0]%/*}"
source ${rundir}/functions
installer_functionsrev=$functionsrev
runuser=$(whoami)
users=($(ls /home/))
@ -121,7 +121,7 @@ check-deps(){
if [[ $_bins_missing == 0 ]] ; then
bins_missing="false"
else
return $bins_missing
echo "$bins_missing"
fi
}