- Updated pacman to auto yes in unipkg script.

This commit is contained in:
Ben Reaves
2020-05-02 19:27:40 -05:00
parent 6a4ad3f92a
commit af9036ec24

View File

@@ -9,7 +9,7 @@ elif pkgmgr="$( which dnf )" 2> /dev/null; then
$pkgmgr check-update; $pkgmgr install -y "$1"
elif pkgmgr="$( which pacman )" 2> /dev/null; then
echo "Arch-based"
$pkgmgr -Syy; $pkgmr -S "$1"
$pkgmgr -Syy; yes | pkgmr -S "$1"
else
echo "Package manager not found, please install $1" >&2
exit 1