Skip to content

Conversation

@mablr
Copy link

@mablr mablr commented Feb 21, 2025

  • Added Debian GNU/Linux to the list of supported OS
  • Updated error message to reflect broader OS support

Tested successfully with Debian 12.

- Added Debian GNU/Linux to the list of supported OS
- Updated error message to reflect broader OS support
grep -iqE "ubuntu|kubuntu|xubuntu|lubuntu|pop!_os|elementary|zorin|linux mint" /etc/os-release || {
logg error "$(printf "\n This script is designed exclusively for Ubuntu and its popular derivatives.\n Detected: %s. \n Exiting..." "$os_name")"; exit 1
grep -iqE "ubuntu|kubuntu|xubuntu|lubuntu|pop!_os|elementary|zorin|linux mint|debian gnu/linux" /etc/os-release || {
logg error "$(printf "\n This script is designed exclusively for Debian and Ubuntu-based distributions.\n Detected: %s. \n Exiting..." "$os_name")"; exit 1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use "Debian and Debian-based (a.g Ubuntu, Kubuntu, Xubuntu and more)" instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idk, Ubuntu is indeed a derivative of Debian, but I think mentioning both is probably clearer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants