Update bin/portzap

This commit is contained in:
0x1eef 2024-05-23 01:03:45 -03:00
parent ab30a77218
commit 3254db4e32

View file

@ -3,13 +3,13 @@ set -e
## ##
# variables # variables
localbase="${LOCALBASE:-/usr/local}" localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/..)}
defaultbranch="hardenedbsd/main" libexec="${localbase}"/libexec/portzap
gitdir="/home/_portzap/ports" gitdir="/home/_portzap/ports"
giturl="${PORTZAP_GITURL:-https://git.hardenedbsd.org/hardenedbsd/ports.git}" giturl="${PORTZAP_GITURL:-https://git.hardenedbsd.org/hardenedbsd/ports.git}"
installdir="${PORTZAP_INSTALLDIR:-/usr/ports}" installdir="${PORTZAP_INSTALLDIR:-/usr/ports}"
defaultbranch="hardenedbsd/main"
revfile="${installdir}"/.portzap revfile="${installdir}"/.portzap
libexec=$(realpath "$(dirname "$0")")/../libexec/portzap
## ##
# functions # functions