mirror of
https://github.com/physk/netbird-installer.git
synced 2026-08-02 02:28:41 -04:00
Fix Darwin path creation
This commit is contained in:
@@ -352,7 +352,7 @@ function installNativePlaceBinarys () {
|
||||
;;
|
||||
'darwin')
|
||||
# Make sure /usr/local/bin exists
|
||||
if [ -d /usr/local/bin ]; then
|
||||
if [ ! -d /usr/local/bin ]; then
|
||||
prettyBoxCurrent "Create /usr/local/bin"
|
||||
# shellcheck disable=SC2174
|
||||
if mkdir -m 0555 -p /usr/local/bin; then
|
||||
@@ -427,7 +427,7 @@ function installNativePlaceBinarys () {
|
||||
;;
|
||||
'darwin')
|
||||
# Make sure /usr/local/bin exists
|
||||
if [ -d /usr/local/bin ]; then
|
||||
if [ ! -d /usr/local/bin ]; then
|
||||
prettyBoxCurrent "Create /usr/local/bin"
|
||||
# shellcheck disable=SC2174
|
||||
if mkdir -m 0555 -p /usr/local/bin; then
|
||||
|
||||
Reference in New Issue
Block a user