Closed HLeithner closed 6 days ago
hi @HLeithner sorry , could you please explain bit more like why we need to check for lsb_release ?
I had the same issue and had to apt install lsb-release
before running the script.
@kguptasangoma we use our own down striped debian template vms which has no package installed we commonly don't need. So the lsb-release package and wget package is not installed. to run the script I hardcoded "Debian" in the DISTRIBUTION variable and installed wget.
Maybe it's common that lsb-release is available but maybe not always. Also instead of wget we have curl installed per default.
It's not a big issue but makes the script error safe.
I had the same issue using a container on Proxmox (LXC).
_debian-12-standard_12.2-1amd64.tar.zst did not have lsb-release.
running apt install lsb-release
allowed the script to continue.
Fixed in the latest version.
FreePBX Version
FreePBX 17
Improvement Description
I would suggest to check for lsb_release and wget binary before using them