]>
Commit | Line | Data |
---|---|---|
c5c5812e TL |
1 | #!/bin/sh |
2 | ||
3 | set -e | |
4 | ||
5 | #DEBHELPER# | |
6 | ||
7 | case "$1" in | |
8 | configure) | |
9 | if test -n "$2"; then | |
10 | ||
11 | # TODO: remove once PVE 7.0 is released | |
12 | if dpkg --compare-versions "$2" 'lt' '6.0-5'; then | |
13 | sed -E -i -e 's/^www:(\w)/www: \1/' /etc/aliases | |
14 | fi | |
15 | fi | |
16 | ;; | |
17 | ||
18 | esac | |
19 | ||
20 | exit 0 |