shvchk / poly-dark

Poly dark GRUB theme
https://opendesktop.org/p/1230780
MIT License
172 stars 36 forks source link

Can't detect arch-like distros #18

Closed CarterSnich closed 2 years ago

CarterSnich commented 2 years ago

Script can't detect my Manjaro as an arch-like distro. I cat-ted /etc/os-release, this is what it looks like:

NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux

But, in the script it, checking looks like this:

  94   │     elif [[ "$ID" =~ (arch|gentoo|artix) || \
  95   │             "$ID_LIKE" =~ (archlinux|gentoo|artixlinux) ]]; then

Instead of archlinux, my ID_LIKE on my os-release is arch. Can I change it on the script so it can proceed to install? I wanna ask, cos I don't know if it's a valid move. I don't wanna nuke my grub. I still don't know the grub part of Linux.

shvchk commented 2 years ago

Thanks, should be fixed now :wink: