removed extra sources check

This commit is contained in:
pyr0ball 2023-06-09 09:47:40 -07:00
parent bc17433a2c
commit 350613d865
2 changed files with 2 additions and 10 deletions

View file

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
# CodeDog Bootstrap installer script # CodeDog Bootstrap installer script
# To run this script without cloning or downloading anything:
# bash <(curl -ks 'https://github.com/pyr0ball/PRbL-bashrc/raw/main/extras/Slipstream.install')
# Bash expansions to get the name and location of this script when run # Bash expansions to get the name and location of this script when run
scriptname="${BASH_SOURCE[0]##*/}" scriptname="${BASH_SOURCE[0]##*/}"
rundir="${BASH_SOURCE[0]%/*}" rundir="${BASH_SOURCE[0]%/*}"

View file

@ -339,15 +339,6 @@ userinstall(){
# Create install directory under user's home directory # Create install directory under user's home directory
run mkdir -p ${installdir} run mkdir -p ${installdir}
# Check if functions already exist, and check if functions are out of date
if [ -f ${installdir}/functions ] ; then
# if functions are out of date, remove before installing new version
local installerfrev=$(cat ${rundir}/functions | grep functionsrev )
if [[ $(vercomp ${installerfrev##*=} $installer_functionsrev ) == 2 ]] ; then
run rm ${installdir}/functions
fi
fi
# Copy functions first # Copy functions first
install-functions install-functions