mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-24 21:46:52 +08:00
bug fix
This commit is contained in:
parent
a5db810891
commit
3aadc442b8
|
@ -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
|
||||
|
|
4
tools/macos.sh
Normal file → Executable file
4
tools/macos.sh
Normal file → Executable file
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user