pve-common/debian
Thomas Lamprecht c5c5812e23 add postinst hook to fix /etc/aliases whitespace error
This was wrongly shipped by our ISO since quite a bit (AFAICT, at
least 4.x), so fix it up in a versioned postinst snippet.

Do so by usind sed with the following pattern:
 # sed -E -i -e 's/^www:(\w)/www: \1/' /etc/aliases
proposed by Musee Ullah[0]. It even catches a bit more than exactly
our misstep, may help if one copied this line, or added some other
addresses to this specific aliases entry.

Do this here, in pve-common, as it makes it sligthly simpler to roll
the change out to both, PVE and PMG.

[0]: https://pve.proxmox.com/pipermail/pve-user/2019-September/170998.html

Reported-by: Uwe Sauter <uwe.sauter.de@gmail.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-05 12:35:55 +02:00
..
source d/source/format: set format 2018-10-29 14:10:50 +01:00
changelog bump version to 6.0-4 2019-08-17 11:31:53 +02:00
compat d/control: bump compat to 10 2018-10-29 14:10:50 +01:00
control d/control: fix priority-extra-is-replaced-by-priority-optional 2019-05-16 17:12:51 +02:00
copyright imported from svn 'pve-common/trunk' 2011-08-23 07:31:48 +02:00
docs add reference to git version 2013-09-02 10:45:02 +02:00
postinst add postinst hook to fix /etc/aliases whitespace error 2019-09-05 12:35:55 +02:00
rules imported from svn 'pve-common/trunk' 2011-08-23 07:31:48 +02:00
triggers add trigger for pve-api-updates 2015-06-01 13:17:30 +02:00