Skip to content

Commit

Permalink
fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Logicer16 committed Dec 20, 2024
1 parent d28606f commit e8ad52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ else
# Uncomment pam_tid.so
sudo sed -i ".old" -e '/$(PAM_TID_TEXT)/s/^#//g' $(PAM_FILE)
# Insert $(PAM_TEXT) after the pam_tid.so line. This allows pam_tid.so to be used by default (which unexpectedly allows watch authentication as well) with pam_watchid.so as a fallback in cases where pam_tid.so falls through due to TouchID being deemed unavailable by macOS.
sudo sed -i "" -e '/$(PAM_TID_TEXT)/s/$/\nauth sufficient $(LIBRARY_NAME)/g' $(PAM_FILE)
sudo sed -i "" -e '/$(PAM_TID_TEXT)/s/$$/auth sufficient $(LIBRARY_NAME)/g' $(PAM_FILE)
endif

0 comments on commit e8ad52d

Please sign in to comment.