[install.sh] hotfix (#33)

hotfix

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
This commit is contained in:
Dict Xiong 2022-12-03 21:27:22 +08:00 committed by GitHub
parent ff8ac21424
commit c3e0c28b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,16 +31,16 @@ install_dependencies()
fmt_note "installing dependencies ..." fmt_note "installing dependencies ..."
case $(get_os_name) in case $(get_os_name) in
"ubuntu"|"debian" ) "ubuntu"|"debian" )
$SUDO DFS_LITE=$DFS_LITE "$DOTFILES/tools/ubuntu.sh" apt-install $SUDO "$DOTFILES/tools/ubuntu.sh" apt-install
;; ;;
"alpine" ) "alpine" )
$SUDO DFS_LITE=$DFS_LITE "$DOTFILES/tools/alpine.sh" apk-add $SUDO "$DOTFILES/tools/alpine.sh" apk-add
;; ;;
"macos" ) "macos" )
DFS_LITE=$DFS_LITE "$DOTFILES/tools/macos.sh" brew-install "$DOTFILES/tools/macos.sh" brew-install
;; ;;
"msys" ) "msys" )
DFS_LITE=$DFS_LITE "$DOTFILES/tools/msys2.sh" pacman-S "$DOTFILES/tools/msys2.sh" pacman-S
;; ;;
* ) fmt_error "dfs auto-install is not implemented on OS: $(get_os_name)" * ) fmt_error "dfs auto-install is not implemented on OS: $(get_os_name)"
esac esac