Skip to content

Commit

Permalink
Only bootstrap ports for FreeBSD <= 12.
Browse files Browse the repository at this point in the history
The portsnap command has apparently gone away in FreeBSD 15.  Since we
only use things from ports for FreeBSD 12 or older, only extract the
ports information for those older releases.
  • Loading branch information
linuxdude42 committed Oct 27, 2024
1 parent 866f5c5 commit e29dce8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/mythtv-freebsd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

- name: bootstrap ports
command: /usr/sbin/portsnap extract
when: not ports_dir.stat.exists
when:
- not ports_dir.stat.exists
- ansible_distribution_major_version|int <= 12

- name: create a list of compilers and build essentials
set_fact:
Expand Down

0 comments on commit e29dce8

Please sign in to comment.