diff options
Diffstat (limited to 'roles/host')
| -rw-r--r-- | roles/host/templates/usr_local_bin_update_ports.sh.j2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/host/templates/usr_local_bin_update_ports.sh.j2 b/roles/host/templates/usr_local_bin_update_ports.sh.j2 index 1a512af..7f6522e 100644 --- a/roles/host/templates/usr_local_bin_update_ports.sh.j2 +++ b/roles/host/templates/usr_local_bin_update_ports.sh.j2 @@ -10,7 +10,7 @@ usage() { BASEDIR=/usr/ports REMOTE_QUARTERLY="https://github.com/freebsd/freebsd-ports.git" -REMOTE_CUSTOM="https://github.com/jantuomi/freebsd-ports-custom.git" +REMOTE_CUSTOM="http://{{ jail_ips.forge }}/freebsd-ports-custom.git" case "$1" in quarterly) @@ -46,6 +46,7 @@ custom) # Clone or update if [ -d "${BASEDIR}/custom/.git" ]; then echo "Updating custom ports overlay..." + git -C "${BASEDIR}/custom" remote set-url origin "$REMOTE_CUSTOM" git -C "${BASEDIR}/custom" fetch origin git -C "${BASEDIR}/custom" reset --hard origin/main else |
