mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2025-02-22 08:22:40 +01:00
Add opensuse support
This commit is contained in:
parent
9e32df5052
commit
23d0776164
1 changed files with 4 additions and 0 deletions
4
kb.sh
4
kb.sh
|
@ -18,6 +18,10 @@ install_packages() {
|
|||
dnf -y group install "C Development Tools and Libraries"
|
||||
dnf -y group install "Development Tools"
|
||||
dnf -y install git dkms kernel-headers kernel-devel
|
||||
elif [[ "$(lsb_release -si)" == "openSUSE" ]]; then
|
||||
echo "Detected openSUSE"
|
||||
sudo zypper in -y -t pattern devel_C_C++
|
||||
sudo zypper in -y git dkms kernel-headers kernel-devel
|
||||
else
|
||||
echo "Unsupported Linux distribution."
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue