Use --overwrite=* by default and remove --noconfirm

This commit is contained in:
Eduard Tolosa 2024-06-09 13:15:08 -05:00
parent 40c6394220
commit c4e8f8c233

View file

@ -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
}