]>
Commit | Line | Data |
---|---|---|
b2e465d6 AL |
1 | #! /bin/sh |
2 | ||
0c96f6df EL |
3 | set -e |
4 | ||
1156d969 AL |
5 | #DEBHELPER# |
6 | ||
b2e465d6 AL |
7 | if [ "$1" = "upgrade" -o "$1" = "failed-upgrade" ] && |
8 | dpkg --compare-versions "$2" "<<" 0.4.10 | |
9 | then | |
10 | if [ ! -d /var/state/apt/ ]; then | |
11 | ln -s /var/lib/apt /var/state/apt | |
12 | touch /var/lib/apt/lists/partial/.delete-me-later | |
13 | fi | |
14 | fi | |
15 |