From c4e8f8c233e7b23d2a01018de9e91837d32fae45 Mon Sep 17 00:00:00 2001 From: Eduard T Date: Sun, 9 Jun 2024 13:15:08 -0500 Subject: [PATCH] Use `--overwrite=*` by default and remove `--noconfirm` --- pkgrecover.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgrecover.sh b/pkgrecover.sh index faaa3bf..0d6c8a2 100644 --- a/pkgrecover.sh +++ b/pkgrecover.sh @@ -55,7 +55,7 @@ using_pacman_db() { done else echo "Reinstalling the following packages:" - sudo pacman -S "${matching_packages[@]}" --noconfirm + sudo pacman -S "${matching_packages[@]}" --overwrite='*' fi } @@ -95,7 +95,7 @@ using_paclog() { done else echo "Reinstalling the following packages:" - sudo pacman -S "${matching_packages[@]}" --noconfirm + sudo pacman -S "${matching_packages[@]}" --overwrite='*' fi }