Skip to content

Commit

Permalink
Add replace flag
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmcanonical committed Dec 16, 2024
1 parent f95eada commit 872eed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/macros/10-bash.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +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 '/Default: yes/a Priority: 257\
sed -i '/Default: yes/a Priority: 257\
Conflicts: unix' "$conf_path"/"$conf_name"
DEBIAN_FRONTEND=noninteractive pam-auth-update
else
Expand Down

0 comments on commit 872eed7

Please sign in to comment.