Add Arch based distro 'Artix' for linux installer (#2373)

Thanks @AbdeltwabMF for contributing!
This commit is contained in:
Abd El-Twab M. Fakhry
2022-03-25 01:10:47 +02:00
committed by GitHub
parent 5fdd96f576
commit b46edb4d1a

View File

@@ -87,7 +87,7 @@ install_linux() {
DISTRO_ID=$(cat /etc/os-release | grep ID= | grep -v "BUILD" | grep -v "IMAGE" | cut -d= -f2-)
if [ "${DISTRO_ID}" = 'kali' ]; then
Distro='Kali'
elif [ "${DISTRO_ID}" = 'arch' ] || [ "${DISTRO_ID}" = 'manjaro' ]; then
elif [ "${DISTRO_ID}" = 'arch' ] || [ "${DISTRO_ID}" = 'artix' ] || [ "${DISTRO_ID}" = 'manjaro' ]; then
Distro='Arch'
fi
fi