From 099eacf073c0e8e96b0ecc99c1f71d91588f9ae0 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Tue, 31 Jan 2023 19:47:17 -0400 Subject: [PATCH] Make install script architecture-agnostic --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1b47fcb..0db473a 100755 --- a/install.sh +++ b/install.sh @@ -96,7 +96,7 @@ chmod +x "$PAM_WSL_HELLO_WINPATH/WindowsHelloBridge.exe" set +x echo_stage "Installing PAM module to the Linux system..." -SECURITY_PATH="/lib/x86_64-linux-gnu/security" +SECURITY_PATH="/lib/$(uname -m)-linux-gnu/security" if ! check_pam_directory "${SECURITY_PATH}"; then echo "PAM directory was not found in '/lib/x86_64-linux-gnu/security/'. It looks like you're not running Ubuntu nor Debian." echo "Checking '/lib/security/'..."