vrolife/modern_laptop

Patching support for Linux Mint

kartun83 opened this issue · 1 comments

Describe the bug
Patching is not working on linux mint

To Reproduce
Steps to reproduce the behavior:

  1. sudo /bin/sh install.sh acpi
  2. Error message : "Unknown environment"

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux Mint
  • Version: 22.1
  • Kernel version: Linux kartun-RedmiBook-16 6.1.6-060106-generic #202301141035 SMP PREEMPT_DYNAMIC Sat Jan 14 11:15:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Fix:
Change: if test "$ID" = "debian" -o "$ID_LIKE" = "debian"; then
with
if test "$ID" = "debian" -o "$ID_LIKE" = "debian" -o "$ID" = "linuxmint"; then