Skip to content

Commit

Permalink
Remove the additional Priority line
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmcanonical committed Jan 2, 2025
1 parent 3e97580 commit 881456f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shared/macros/10-bash.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 881456f

Please sign in to comment.