dotfiles/install_pam.sh
2023-10-06 13:40:47 +02:00

11 lines
256 B
Bash
Executable File

#!/usr/bin/bash
set -euo pipefail
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
if ! diff "${SCRIPT_DIR}/etc/pam.d/login" /etc/pam.d/login &> /dev/null; then
sudo meld "${SCRIPT_DIR}/etc/pam.d/login" /etc/pam.d/login
fi