From 881456f7f005a91bc93948d3cf883e62ccc47aae Mon Sep 17 00:00:00 2001 From: Alan Moore Date: Thu, 2 Jan 2025 17:10:40 +0000 Subject: [PATCH] Remove the additional Priority line --- shared/macros/10-bash.jinja | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/macros/10-bash.jinja b/shared/macros/10-bash.jinja index 82ac231dfac..460dfdfdd4a 100644 --- a/shared/macros/10-bash.jinja +++ b/shared/macros/10-bash.jinja @@ -913,6 +913,7 @@ if [ ! -f "$conf_path"/"$conf_name" ]; then if [ -f "$conf_path"/unix ]; then if grep -q "$(md5sum "$conf_path"/unix | cut -d ' ' -f 1)" /var/lib/dpkg/info/libpam-runtime.md5sums;then cp "$conf_path"/unix "$conf_path"/"$conf_name" + sed '/Priority: 256/d' "$conf_path"/"$conf_name" sed -i '/Default: yes/a Priority: 257\ Conflicts: unix' "$conf_path"/"$conf_name" DEBIAN_FRONTEND=noninteractive pam-auth-update