mirror of
https://github.com/ellie/atuin.git
synced 2024-08-17 17:00:33 +03:00
Use case
for Linux distro choice in install.sh
(#1200)
This commit is contained in:
parent
b7481993e3
commit
2342a33923
17
install.sh
17
install.sh
@ -92,14 +92,15 @@ __atuin_install_linux(){
|
||||
else
|
||||
OS=$(lsb_release -i | awk '{ print $3 }' | tr '[:upper:]' '[:lower:]')
|
||||
fi
|
||||
if [ "$OS" == "arch" ] || [ "$OS" == "manjarolinux" ] || [ "$OS" == "endeavouros" ]; then
|
||||
__atuin_install_arch
|
||||
elif [ "$OS" == "ubuntu" ] || [ "$OS" == "ubuntuwsl" ] || [ "$OS" == "debian" ] || [ "$OS" == "linuxmint" ] || [ "$OS" == "parrot" ] || [ "$OS" == "kali" ] || [ "$OS" == "elementary" ] || [ "$OS" == "pop" ]; then
|
||||
__atuin_install_ubuntu
|
||||
else
|
||||
# TODO: download a binary or smth
|
||||
__atuin_install_unsupported
|
||||
fi
|
||||
case "$OS" in
|
||||
"arch" | "manjarolinux" | "endeavouros")
|
||||
__atuin_install_arch;;
|
||||
"ubuntu" | "ubuntuwsl" | "debian" | "linuxmint" | "parrot" | "kali" | "elementary" | "pop")
|
||||
__atuin_install_ubuntu;;
|
||||
*)
|
||||
# TODO: download a binary or smth
|
||||
__atuin_install_unsupported;;
|
||||
esac
|
||||
}
|
||||
|
||||
__atuin_install_mac(){
|
||||
|
Loading…
Reference in New Issue
Block a user