summaryrefslogtreecommitdiff
path: root/test/integration/test-kernel-helper-autoremove.fake-dpkg
blob: aec6d4418696183fc6f1561e0b9033ac87d2a1e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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-3.5.0-17-generic  3.5.0-17  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