FreePBX / sng_freepbx_debian_install

FreePBX 17 Installation Script
51 stars 15 forks source link

Add PATH before starting the script (JIRA #92) #23

Closed spurnasai closed 2 months ago

spurnasai commented 2 months ago

Issue Description: The script has encountered an error on fresh Debian 12.5 installations due to an incomplete PATH variable. Specifically, the script requires access to directories /sbin, /usb/sbin, and /usr/local/sbin, which were not included in the default PATH configuration. Proposed Solution: To resolve this issue, I've added the required directories to the PATH variable before starting the script. By including /usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, and /bin in the PATH, we ensure compatibility with Debian 12.5 installations and allow the script to locate essential executables. Changes Made: Modified the script to export the PATH variable with the necessary directories appended before executing any commands. Tested the script on a Debian 12.5 environment to verify compatibility and functionality.

Feel free to adjust or expand upon this description as needed to provide additional context or details about your changes.

sangoma-oss-cla[bot] commented 2 months ago

CLA assistant check
All committers have signed the CLA.