# must be able to download a new version if [[ ! -O .. && $EUID -ne 0 ]] then error "Please run as root or the owner of this directory." exit fi # if it's the git version, just git pull if [[ -d .git ]] then git pull fi