diff --git a/install.sh b/install.sh index 796e9d7..4bcce56 100755 --- a/install.sh +++ b/install.sh @@ -31,16 +31,16 @@ install_dependencies() fmt_note "installing dependencies ..." case $(get_os_name) in "ubuntu"|"debian" ) - DFS_LITE=$DFS_LITE $SUDO $DOTFILES/tools/ubuntu.sh apt-install + $SUDO DFS_LITE=$DFS_LITE "$DOTFILES/tools/ubuntu.sh" apt-install ;; "alpine" ) - DFS_LITE=$DFS_LITE $SUDO $DOTFILES/tools/alpine.sh apk-add + $SUDO DFS_LITE=$DFS_LITE "$DOTFILES/tools/alpine.sh" apk-add ;; "macos" ) - DFS_LITE=$DFS_LITE $SUDO $DOTFILES/tools/macos.sh brew-install + $SUDO DFS_LITE=$DFS_LITE "$DOTFILES/tools/macos.sh" brew-install ;; "msys" ) - DFS_LITE=$DFS_LITE $SUDO $DOTFILES/tools/msys2.sh pacman-S + $SUDO DFS_LITE=$DFS_LITE "$DOTFILES/tools/msys2.sh" pacman-S ;; * ) fmt_error "dfs auto-install is not implemented on OS: $(get_os_name)" esac diff --git a/tools/macos.sh b/tools/macos.sh old mode 100644 new mode 100755 index 0edd212..ff4e566 --- a/tools/macos.sh +++ b/tools/macos.sh @@ -11,8 +11,8 @@ brew_install() router() { case $1 in - brew_install ) brew_install ;; - * ) echo unknown command "$1". available: brew_install;; + brew-install ) brew_install ;; + * ) echo unknown command "$1". available: brew-install;; esac }