mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-21 15:43:12 +01:00
c81b83b346
This commit modifies the install.sh script to improve compatibility with systems lacking the sudo command. A conditional check is added at the beginning of the script to see if the sudo command exists. If it does, operations in the script that previously required sudo would proceed as normal, using the sudo command. If the system does not have sudo, the shell would execute these operations without it. This change enhances the usability of this script in restricted environments where sudo is not installed or available to users. |
||
---|---|---|
.. | ||
darwin_pkg | ||
darwin-ui-installer.sh | ||
darwin-ui-uninstaller.sh | ||
install.sh | ||
post_install.sh | ||
pre_remove.sh |