diff options
| author | Jan Sydänviita <jan@sydanviita.fi> | 2026-08-24 16:54:22 +0300 |
|---|---|---|
| committer | Jan Sydänviita <jan@sydanviita.fi> | 2026-08-24 16:54:22 +0300 |
| commit | 3289d8991fe4661d28998689fcbc5b30942f16e7 (patch) | |
| tree | 33ce53eb460adb12d874a57915fa5d0e051b0edf /roles/host | |
| parent | ea78227f74d141a11cae1083987e1059dfeaae75 (diff) | |
Fixes
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 |
