s/source_url/ports_url/g

This commit is contained in:
0x1eef 2023-01-24 00:12:08 -03:00
parent f61f82d674
commit bba078f652

View file

@ -4,9 +4,9 @@
##
# Configuration
source_url="https://git.hardenedbsd.org/hardenedbsd/ports.git"
portzap_dir="/home/_portzap/ports"
ports_url="https://git.hardenedbsd.org/hardenedbsd/ports.git"
ports_dir="/usr/ports/"
portzap_dir="/home/_portzap/ports"
libexec_dir=$(realpath $(dirname $0)/../libexec/portzap/)
##
@ -73,7 +73,7 @@ clone() {
exit 1
fi
umask $clone_mask
git clone --depth 1 $source_url $portzap_dir
git clone --depth 1 $ports_url $portzap_dir
else
echo "Permission denied."
fi