From 9467b56be031d0a4f5cb776c77693400335d810c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 17 Jul 2025 14:53:45 -0700 Subject: [PATCH] Uninstall packages too --- bin/omarchy-fido2-setup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-fido2-setup b/bin/omarchy-fido2-setup index e37132a..75b404b 100755 --- a/bin/omarchy-fido2-setup +++ b/bin/omarchy-fido2-setup @@ -1,9 +1,10 @@ #!/bin/bash if [[ "--remove" == "$1" ]]; then + yay -Rns --noconfirm libfido2 pam-u2f sudo rm -rf /etc/fido2 sudo sed -i '\|^auth[[:space:]]\+sufficient[[:space:]]\+pam_u2f\.so[[:space:]]\+cue[[:space:]]\+authfile=/etc/fido2/fido2$|d' /etc/pam.d/sudo - echo -e "\e[32mYou've successfully removed the fido2 device setup.\e[0m" + echo -e "\e[32m\nYou've successfully removed the fido2 device setup.\e[0m" else yay -S --noconfirm --needed libfido2 pam-u2f