add suport for UOS

This commit is contained in:
wangling12 2020-05-28 17:53:55 +08:00 committed by GitHub
parent 8e41fc3d63
commit 4e54a7c8e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,8 @@ function get_linux_distro()
echo "Ubuntu"
elif grep -Eq "Deepin" /etc/*-release; then
echo "Deepin"
elif grep -Eq "uos" /etc/*-release; then
echo "UOS"
elif grep -Eq "LinuxMint" /etc/*-release; then
echo "LinuxMint"
elif grep -Eq "elementary" /etc/*-release; then
@ -543,6 +545,8 @@ function install_vimplus_on_linux()
install_vimplus_on_ubuntu_like
elif [ ${distro} == "Debian" ]; then
install_vimplus_on_debian
elif [ ${distro} == "UOS" ]; then
install_vimplus_on_debian
elif [ ${distro} == "Kali" ]; then
install_vimplus_on_debian
elif [ ${distro} == "CentOS" ]; then