summaryrefslogtreecommitdiff
path: root/backport/scripts/uninstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backport/scripts/uninstall.sh')
-rwxr-xr-xbackport/scripts/uninstall.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/backport/scripts/uninstall.sh b/backport/scripts/uninstall.sh
index b46d3fe7..91a0fe62 100755
--- a/backport/scripts/uninstall.sh
+++ b/backport/scripts/uninstall.sh
@@ -4,8 +4,10 @@ set -e
source ./scripts/mod_helpers.sh
-if test "$(mod_filename mac80211)" = "mac80211.ko.gz" ; then
+if test "$(mod_filename compat)" = "compat.ko.gz" ; then
compr=".gz"
+elif test "$(mod_filename compat)" = "compat.ko.xz" ; then
+ compr=".xz"
else
compr=""
fi