More pacman swaps

This commit is contained in:
David Heinemeier Hansson 2025-08-24 17:53:42 +02:00
parent 4de9f5fda3
commit f0a77e65cd
4 changed files with 6 additions and 8 deletions

View File

@ -6,7 +6,7 @@ if [[ -z "$1" ]]; then
fi fi
install_php() { install_php() {
yay -Sy php composer php-sqlite --noconfirm sudo pacman -Sy php composer php-sqlite --noconfirm
# Install Path for Composer # Install Path for Composer
if [[ ":$PATH:" != *":$HOME/.config/composer/vendor/bin:"* ]]; then if [[ ":$PATH:" != *":$HOME/.config/composer/vendor/bin:"* ]]; then

View File

@ -80,7 +80,7 @@ if [[ "--remove" == "$1" ]]; then
# Uninstall packages # Uninstall packages
print_info "Removing FIDO2 packages..." print_info "Removing FIDO2 packages..."
yay -Rns --noconfirm libfido2 pam-u2f sudo pacman -Rns --noconfirm libfido2 pam-u2f
print_success "FIDO2 authentication has been completely removed." print_success "FIDO2 authentication has been completely removed."
else else
@ -88,7 +88,7 @@ else
# Install required packages # Install required packages
print_info "Installing required packages..." print_info "Installing required packages..."
yay -S --noconfirm --needed libfido2 pam-u2f sudo pacman -S --noconfirm --needed libfido2 pam-u2f
if ! check_fido2_hardware; then if ! check_fido2_hardware; then
exit 1 exit 1
@ -125,4 +125,3 @@ else
print_error "\nVerification failed. You may want to check your configuration." print_error "\nVerification failed. You may want to check your configuration."
fi fi
fi fi

View File

@ -73,7 +73,7 @@ if [[ "--remove" == "$1" ]]; then
# Uninstall packages # Uninstall packages
print_info "Removing fingerprint packages..." print_info "Removing fingerprint packages..."
yay -Rns --noconfirm fprintd sudo pacman -Rns --noconfirm fprintd
print_success "Fingerprint authentication has been completely removed." print_success "Fingerprint authentication has been completely removed."
else else
@ -81,7 +81,7 @@ else
# Install required packages # Install required packages
print_info "Installing required packages..." print_info "Installing required packages..."
yay -S --noconfirm --needed fprintd usbutils sudo pacman -S --noconfirm --needed fprintd usbutils
if ! check_fingerprint_hardware; then if ! check_fingerprint_hardware; then
exit 1 exit 1
@ -110,4 +110,3 @@ else
exit 1 exit 1
fi fi
fi fi

View File

@ -1,5 +1,5 @@
echo "Add LocalSend as new default application" echo "Add LocalSend as new default application"
if ! command -v localsend &>/dev/null; then if ! command -v localsend &>/dev/null; then
yay -S --noconfirm --needed localsend-bin sudo pacman -S --noconfirm --needed localsend
fi fi