Am 6/12/20 um 11:14 AM schrieb Stoiko Ivanov: > Signed-off-by: Stoiko Ivanov <s.iva...@proxmox.com> > --- > Tested by installing libpve-common-perl=6.0-4 on a buster system w/o > /etc/aliases and then installing one with this patch applied (and the > libproxmox-acme-perl dependency removed). > debian/postinst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/debian/postinst b/debian/postinst > index 5a19c69..7bd635a 100644 > --- a/debian/postinst > +++ b/debian/postinst > @@ -9,7 +9,7 @@ case "$1" in > if test -n "$2"; then > > # TODO: remove once PVE 7.0 is released > - if dpkg --compare-versions "$2" 'lt' '6.0-5'; then > + if dpkg --compare-versions "$2" 'lt' '6.0-5' && [ -e /etc/aliases ]; > then > sed -E -i -e 's/^www:(\w)/www: \1/' /etc/aliases > fi > fi >
applied, amended the "fix #2796" prefix, thanks! _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel