* [pve-devel] [PATCH common] debian: drop outdated postinst script
@ 2025-03-27 10:23 Christoph Heiss
2025-03-27 16:40 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Heiss @ 2025-03-27 10:23 UTC (permalink / raw)
To: pve-devel
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>
---
debian/postinst | 20 --------------------
1 file changed, 20 deletions(-)
delete mode 100644 debian/postinst
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644
index 7bd635a..0000000
--- a/debian/postinst
+++ /dev/null
@@ -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
--
2.48.1
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH common] debian: drop outdated postinst script
2025-03-27 10:23 [pve-devel] [PATCH common] debian: drop outdated postinst script Christoph Heiss
@ 2025-03-27 16:40 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-03-27 16:40 UTC (permalink / raw)
To: Proxmox VE development discussion, Christoph Heiss
Am 27.03.25 um 11:23 schrieb Christoph Heiss:
> 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>
> ---
> debian/postinst | 20 --------------------
> 1 file changed, 20 deletions(-)
> delete mode 100644 debian/postinst
>
>
applied, thanks!
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-27 16:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-27 10:23 [pve-devel] [PATCH common] debian: drop outdated postinst script Christoph Heiss
2025-03-27 16:40 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal