mirror of
https://github.com/ISpillMyDrink/OpenSuperClone.git
synced 2026-05-03 21:40:33 +00:00
16 lines
485 B
Bash
16 lines
485 B
Bash
#!/bin/sh
|
|
|
|
if command -v dkms >/dev/null; then
|
|
dkms remove oscdriver/@OSC_DRIVER_VERSION@ --all
|
|
else
|
|
echo "WARNING: DKMS is not installed, skipping driver removal."
|
|
echo "If the driver was installed manually, it will not be removed."
|
|
fi
|
|
|
|
if command -v dkms >/dev/null; then
|
|
dkms remove mininvme/@MININVME_VERSION@ --all
|
|
else
|
|
echo "WARNING: DKMS is not installed, skipping driver removal."
|
|
echo "If the driver was installed manually, it will not be removed."
|
|
fi
|