commit d8d816d8066f1aea49c441f2ae82d3802c446a50
parent b4b985ab27e3dabf06cbe5dc5beeea0169808bc0
Author: Raymond Li <hi@raymond.li>
Date: Fri, 8 Jan 2021 21:03:23 -0500
Fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
@@ -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