From 88697caa83bc1b1d97b34b033bd99f5b59f557f9 Mon Sep 17 00:00:00 2001 From: yage Date: Sat, 11 Nov 2023 09:34:21 -0700 Subject: [PATCH] recognize endeavouros as arch --- setup/os.zsh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup/os.zsh b/setup/os.zsh index 93fc79b..e99dd98 100644 --- a/setup/os.zsh +++ b/setup/os.zsh @@ -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' \ ;