danb35 / freenas-iocage-nextcloud

Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
GNU General Public License v3.0
258 stars 71 forks source link

Add regex to remove version appendix #85

Closed Migsi closed 4 years ago

Migsi commented 4 years ago

This is just an improvised fix to get the script working with the recent 11.3 release, where appearently no appendix is used (yet?). Fetching the OS version for the jail fails due to the unknown appendix used. This fix only considered working if you run 11.3-RELEASE. More investigation is needed to solve this issue properly. Please don't merge.

PrivatePuffin commented 4 years ago

It works fine and yes, it just uses no appendix anymore. So this is a clean fix.