[pve-devel] [PATCH proxmox-ve 1/3] apt hook: avoid long line and fix typo

Fabian Ebner f.ebner at proxmox.com
Mon Sep 13 14:04:44 CEST 2021


by making 'upgrade' lowercase.

Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 debian/apthook/pve-apt-hook | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/apthook/pve-apt-hook b/debian/apthook/pve-apt-hook
index 1f77a1a..d79b6c0 100755
--- a/debian/apthook/pve-apt-hook
+++ b/debian/apthook/pve-apt-hook
@@ -74,7 +74,8 @@ while (my $line = <$fh>) {
       }
     } elsif ($action eq '**CONFIGURE**' && $dir eq '<' && $old =~ /^6\./ && $new =~ /^7\./) {
       $log->("!! ATTENTION !!\n");
-      $log->("You are attempting to upgrade from proxmox-ve '$old' to proxmox-ve '$new'. Please make sure to read the Upgrade notes at\n");
+      $log->("You are attempting to upgrade from proxmox-ve '$old' to proxmox-ve '$new'.\n");
+      $log->("Please make sure to read the upgrade notes at\n");
       $log->("\thttps://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0\n");
       $log->("before proceeding with this operation.\n");
       $log->("\n");
-- 
2.20.1





More information about the pve-devel mailing list