]> git.saurik.com Git - apt.git/blobdiff - debian/apt.auto-removal.sh
My "tolerance" patch was a tad bit overzealous :(.
[apt.git] / debian / apt.auto-removal.sh
index 608d950b5d2fd779097352bd2e1ec907718222ef..df9048cd61a9470a477ed7c119a625f4a1beef8d 100644 (file)
@@ -25,7 +25,7 @@ debverlist="$(echo "$list" | cut -d' ' -f 2 | sort --unique --reverse --version-
 if [ -n "$1" ]; then
        installed_version="$(echo "$list" | awk "\$1 == \"$1\" { print \$2;exit; }")"
 fi
-unamer="$(uname -r)"
+unamer="$(uname -r | tr '[A-Z]' '[a-z]')"
 if [ -n "$unamer" ]; then
        running_version="$(echo "$list" | awk "\$1 == \"$unamer\" { print \$2;exit; }")"
 fi