This commit is contained in:
Raymond Li 2021-01-08 21:03:23 -05:00 committed by GitHub
parent b4b985ab27
commit d8d816d806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ if [[ -f /etc/arch-release ]]; then
fi
# Use system-auth instead of login on Gentoo
if [[ -f /etc/arch-release ]]; then
if [[ -f /etc/gentoo-release ]]; then
echo "Using PAM for Gentoo"
sed -i "s/^#auth include system-auth/auth include system-auth/g" ../pam/i3lock
sed -i "s/^auth include login/#auth include login/g" ../pam/i3lock