mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-25 02:17:00 +08:00
bug fix
This commit is contained in:
parent
a5db810891
commit
3aadc442b8
|
@ -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" )
|
||||||
DFS_LITE=$DFS_LITE $SUDO $DOTFILES/tools/ubuntu.sh apt-install
|
$SUDO DFS_LITE=$DFS_LITE "$DOTFILES/tools/ubuntu.sh" apt-install
|
||||||
;;
|
;;
|
||||||
"alpine" )
|
"alpine" )
|
||||||
DFS_LITE=$DFS_LITE $SUDO $DOTFILES/tools/alpine.sh apk-add
|
$SUDO DFS_LITE=$DFS_LITE "$DOTFILES/tools/alpine.sh" apk-add
|
||||||
;;
|
;;
|
||||||
"macos" )
|
"macos" )
|
||||||
DFS_LITE=$DFS_LITE $SUDO $DOTFILES/tools/macos.sh brew-install
|
$SUDO DFS_LITE=$DFS_LITE "$DOTFILES/tools/macos.sh" brew-install
|
||||||
;;
|
;;
|
||||||
"msys" )
|
"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)"
|
* ) fmt_error "dfs auto-install is not implemented on OS: $(get_os_name)"
|
||||||
esac
|
esac
|
||||||
|
|
4
tools/macos.sh
Normal file → Executable file
4
tools/macos.sh
Normal file → Executable file
|
@ -11,8 +11,8 @@ brew_install()
|
||||||
router()
|
router()
|
||||||
{
|
{
|
||||||
case $1 in
|
case $1 in
|
||||||
brew_install ) brew_install ;;
|
brew-install ) brew_install ;;
|
||||||
* ) echo unknown command "$1". available: brew_install;;
|
* ) echo unknown command "$1". available: brew-install;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user