summaryrefslogtreecommitdiff
path: root/debian/apt.auto-removal.sh
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-10-22 16:31:00 +0200
committerMichael Vogt <mvo@debian.org>2013-10-22 16:31:00 +0200
commit9aa9db9c88fca3a9266427b0d5cc9ad53df7207e (patch)
treebef0ccb8cdb3bf4a5d9ea55257998717e58e1445 /debian/apt.auto-removal.sh
parentb1c5ce94522cb08b0e2b13b08b09bbc584740cc2 (diff)
Keep linux-tools packages matching installed kernels (LP: #1205284)
Diffstat (limited to 'debian/apt.auto-removal.sh')
-rw-r--r--debian/apt.auto-removal.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/apt.auto-removal.sh b/debian/apt.auto-removal.sh
index 4ada56556..e7badaa83 100644
--- a/debian/apt.auto-removal.sh
+++ b/debian/apt.auto-removal.sh
@@ -85,6 +85,7 @@ for kernel in $kernels; do
echo " \"^linux-signed-image-${kernel}$\";" >> "$config_file".dpkg-new
echo " \"^linux-backports-modules-.*-${kernel}$\";" >> "$config_file".dpkg-new
echo " \"^linux-headers-${kernel}$\";" >> "$config_file".dpkg-new
+ echo " \"^linux-tools-${kernel}$\";" >> "$config_file".dpkg-new
done
cat >> "$config_file".dpkg-new <<EOF
};