all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Christoph Heiss <c.heiss@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH common] debian: drop outdated postinst script
Date: Thu, 27 Mar 2025 11:23:05 +0100	[thread overview]
Message-ID: <20250327102308.116551-1-c.heiss@proxmox.com> (raw)

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


             reply	other threads:[~2025-03-27 10:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-27 10:23 Christoph Heiss [this message]
2025-03-27 16:40 ` [pve-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250327102308.116551-1-c.heiss@proxmox.com \
    --to=c.heiss@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal