summaryrefslogtreecommitdiff
path: root/test/integration/test-kernel-helper-autoremove.fake-dpkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-03-10 17:53:22 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-03-13 13:58:46 +0100
commitb9b0f6222c489db78331cc8be3c093538d22c70b (patch)
tree173f255d53371aad0846c3ccbeec44d321cfe838 /test/integration/test-kernel-helper-autoremove.fake-dpkg
parent52922e2a6795aadcbb8dd11bba14db0f05da34c6 (diff)
use a configurable list of versioned kernel packages
With APT::VersionedKernelPackages users have the option of adding packages like pre-build out-of-tree modules to the list of automatically protected from being autoremoved.
Diffstat (limited to 'test/integration/test-kernel-helper-autoremove.fake-dpkg')
-rw-r--r--test/integration/test-kernel-helper-autoremove.fake-dpkg13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/integration/test-kernel-helper-autoremove.fake-dpkg b/test/integration/test-kernel-helper-autoremove.fake-dpkg
deleted file mode 100644
index a365c5370..000000000
--- a/test/integration/test-kernel-helper-autoremove.fake-dpkg
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = "-l" ]; then
- echo "ii linux-image-1.0.0-2-generic 1.0.01-2 amd64"
- echo "ii linux-image-$(uname -r) not-used amd64"
- echo "ii linux-image-10.0.0-1-generic 10.0.0.1-1 amd64"
-elif [ "$1" = "--compare-versions" ]; then
- dpkg "$1" "$2" "$3" "$4"
-else
- dpkg $@
-fi
-