mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 09:27:04 +08:00
[install.sh] hotfix (#33)
hotfix Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
This commit is contained in:
parent
ff8ac21424
commit
c3e0c28b64
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user