Add elan to the keywords used to detect if a fingerprint reader exists (#692)

This commit is contained in:
not-NEK0 2025-08-12 12:18:56 +02:00 committed by GitHub
parent d26e3e368d
commit bc323ca267
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,7 @@ else
echo -e "\e[32mLet's setup your fingerprint scanner for authentication.\n\e[0m" echo -e "\e[32mLet's setup your fingerprint scanner for authentication.\n\e[0m"
yay -S --noconfirm --needed fprintd usbutils yay -S --noconfirm --needed fprintd usbutils
if ! lsusb | grep -Eiq 'fingerprint|synaptics|goodix'; then if ! lsusb | grep -Eiq 'fingerprint|synaptics|goodix|elan'; then
echo -e "\e[31m\nNo fingerprint sensor detected.\e[0m" echo -e "\e[31m\nNo fingerprint sensor detected.\e[0m"
else else
# Add fingerprint authentication as an option for sudo # Add fingerprint authentication as an option for sudo