install2: fix typo in cleanup script

Oops, I sure meant a prefix and not a single-letter name.

Reported-by: Sergey V Turchin <zerg@altlinux.org>
Fixes: 4130212a23
This commit is contained in:
Michael Shigorin 2020-12-01 15:06:50 +03:00 committed by Anton Midyukov
parent f1de2584c2
commit 40fb799e84

View File

@ -33,7 +33,7 @@ rm -rf /lib/modules/*/kernel/drivers/cpufreq
rm -rf /lib/modules/*/kernel/drivers/edac
rm -rf /lib/modules/*/kernel/drivers/gpio
# NB: leave hwmon.ko
rm -rf /lib/modules/*/kernel/drivers/hwmon/[^h]
rm -rf /lib/modules/*/kernel/drivers/hwmon/[^h]*
rm -rf /lib/modules/*/kernel/drivers/infiniband ###
rm -rf /lib/modules/*/kernel/drivers/input/{gameport,joy*}
rm -rf /lib/modules/*/kernel/drivers/isdn