relocated source of functions after establishing location
This commit is contained in:
parent
13eb96cb32
commit
bcf74d9f05
1 changed files with 2 additions and 2 deletions
|
|
@ -6,9 +6,9 @@
|
||||||
# initial vars
|
# initial vars
|
||||||
VERSION=2.1.0
|
VERSION=2.1.0
|
||||||
scripttitle="Pyr0ball's Reductive Bash Library Installer - v$VERSION"
|
scripttitle="Pyr0ball's Reductive Bash Library Installer - v$VERSION"
|
||||||
source ${rundir}/functions
|
|
||||||
scriptname="${BASH_SOURCE[0]##*/}"
|
scriptname="${BASH_SOURCE[0]##*/}"
|
||||||
rundir="${BASH_SOURCE[0]%/*}"
|
rundir="${BASH_SOURCE[0]%/*}"
|
||||||
|
source ${rundir}/functions
|
||||||
installer_functionsrev=$functionsrev
|
installer_functionsrev=$functionsrev
|
||||||
runuser=$(whoami)
|
runuser=$(whoami)
|
||||||
users=($(ls /home/))
|
users=($(ls /home/))
|
||||||
|
|
@ -121,7 +121,7 @@ check-deps(){
|
||||||
if [[ $_bins_missing == 0 ]] ; then
|
if [[ $_bins_missing == 0 ]] ; then
|
||||||
bins_missing="false"
|
bins_missing="false"
|
||||||
else
|
else
|
||||||
return $bins_missing
|
echo "$bins_missing"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue