mirror of
https://git.proxmox.com/git/pve-common
synced 2025-04-28 12:10:17 +00:00
debian: drop outdated postinst script
In the same spirit as [0], drop the old postinst script, since major
upgrades from 6.x to 8.x are not supported/possible, in any case.
Originally added in commit
c5c5812e
("add postinst hook to fix /etc/aliases whitespace error")
[0] https://lore.proxmox.com/pve-devel/20250312125906.57953-1-f.ebner@proxmox.com/
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
parent
6c450ce52d
commit
e22d191db9
20
debian/postinst
vendored
20
debian/postinst
vendored
@ -1,20 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
if test -n "$2"; then
|
||||
|
||||
# TODO: remove once PVE 7.0 is released
|
||||
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
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user