error "Failed to detect OS CPU architecture! Something is very wrong."
fi
#Ensure running arm processor
if uname -m | grep -q 'x86' ;then
error "Pi-Apps is not not supported on x86 processors."
fi
#check for internet connection
if ! ping -c 1 github.com &>/dev/null ;then
error "No internet connection!\ngithub.com failed to respond.\nErrors: $(ping -c 1 github.com 2>&1)"
fi
dirhash() {
#echo "Hashing this dir: $1" 1>&2
#-------- hash every file in the folder ---------------------------------------------------- list all filenames ------------------- hash all that again
#-------- hash every file in the folder ---------------------------------------------------- list all filenames ------------------- hash all that again