recognize endeavouros as arch

This commit is contained in:
Wryn (yage) Wagner 2023-11-11 09:34:21 -07:00
parent 966af43ba7
commit 88697caa83

View File

@ -25,14 +25,16 @@ OS__GET_OS() {
[[ $OS_NAME =~ ^ubuntu$ ]] && OS_NAME=debian
echo $OS_NAME | tr '[:upper:]' '[:lower:]'
[[ $OS_NAME =~ ^[Ee]ndeavour[Oo][Ss]$ ]] && OS_NAME=arch
echo $OS_NAME
}
#####################################################################
OS__INSTALL_SOURCE_DEPENDENCIES() {
case $OS_NAME in
arch | endeavouros )
arch )
command -v yay >/dev/null 2>&1 \
|| SCWRYPTS packages/install 'https://aur.archlinux.org/yay.git' --local-name 'yay' \
;