recognize endeavouros as arch
This commit is contained in:
parent
966af43ba7
commit
88697caa83
@ -25,14 +25,16 @@ OS__GET_OS() {
|
|||||||
|
|
||||||
[[ $OS_NAME =~ ^ubuntu$ ]] && OS_NAME=debian
|
[[ $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() {
|
OS__INSTALL_SOURCE_DEPENDENCIES() {
|
||||||
case $OS_NAME in
|
case $OS_NAME in
|
||||||
arch | endeavouros )
|
arch )
|
||||||
command -v yay >/dev/null 2>&1 \
|
command -v yay >/dev/null 2>&1 \
|
||||||
|| SCWRYPTS packages/install 'https://aur.archlinux.org/yay.git' --local-name 'yay' \
|
|| SCWRYPTS packages/install 'https://aur.archlinux.org/yay.git' --local-name 'yay' \
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user