diff options
Diffstat (limited to 'backport/scripts/uninstall.sh')
-rwxr-xr-x | backport/scripts/uninstall.sh | 4 |
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 |