From 655d7fe57bdeff7bb1bc198b87ce57d4b0719887 Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Mon, 14 Sep 2020 11:13:40 +0000 Subject: [PATCH] updating for Ubuntu location of dkms-generated kernel modules --- uninstall.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uninstall.sh b/uninstall.sh index c88caf9..a00f7a1 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -82,6 +82,9 @@ echo "remove kernel modules" rm /lib/modules/*/kernel/sound/soc/codecs/snd-soc-wm8960.ko || true rm /lib/modules/*/kernel/sound/soc/codecs/snd-soc-ac108.ko || true rm /lib/modules/*/kernel/sound/soc/bcm/snd-soc-seeed-voicecard.ko || true +rm /lib/modules/*/updates/dkms/snd-soc-wm8960.ko || true +rm /lib/modules/*/updates/dkms/snd-soc-ac108.ko || true +rm /lib/modules/*/updates/dkms/snd-soc-seeed-voicecard.ko || true echo "remove $CONFIG configuration" for i in $RPI_HATS; do