More pacman swaps
This commit is contained in:
parent
4de9f5fda3
commit
f0a77e65cd
@ -6,7 +6,7 @@ if [[ -z "$1" ]]; then
|
||||
fi
|
||||
|
||||
install_php() {
|
||||
yay -Sy php composer php-sqlite --noconfirm
|
||||
sudo pacman -Sy php composer php-sqlite --noconfirm
|
||||
|
||||
# Install Path for Composer
|
||||
if [[ ":$PATH:" != *":$HOME/.config/composer/vendor/bin:"* ]]; then
|
||||
|
@ -80,7 +80,7 @@ if [[ "--remove" == "$1" ]]; then
|
||||
|
||||
# Uninstall 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."
|
||||
else
|
||||
@ -88,7 +88,7 @@ else
|
||||
|
||||
# Install 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
|
||||
exit 1
|
||||
@ -125,4 +125,3 @@ else
|
||||
print_error "\nVerification failed. You may want to check your configuration."
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -73,7 +73,7 @@ if [[ "--remove" == "$1" ]]; then
|
||||
|
||||
# Uninstall packages
|
||||
print_info "Removing fingerprint packages..."
|
||||
yay -Rns --noconfirm fprintd
|
||||
sudo pacman -Rns --noconfirm fprintd
|
||||
|
||||
print_success "Fingerprint authentication has been completely removed."
|
||||
else
|
||||
@ -81,7 +81,7 @@ else
|
||||
|
||||
# Install 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
|
||||
exit 1
|
||||
@ -110,4 +110,3 @@ else
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo "Add LocalSend as new default application"
|
||||
|
||||
if ! command -v localsend &>/dev/null; then
|
||||
yay -S --noconfirm --needed localsend-bin
|
||||
sudo pacman -S --noconfirm --needed localsend
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user