We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
y
1 parent f2ffcfe commit d79aa7cCopy full SHA for d79aa7c
useful-tools/make-aur-package.sh
@@ -19,7 +19,7 @@ _info_msg() {
19
}
20
21
_prepare() {
22
- for d in base-devel git; do
+ for d in base-devel git yes; do
23
if ! pacman -Q "$d" 2>/dev/null; then
24
_info_msg "Adding build dependency: $d"
25
pacman -S --noconfirm "$d"
@@ -171,9 +171,9 @@ ls -la ./
171
172
_info_msg "Installing package..."
173
if [ "$OVERWRITE_CONFLICTS" = 1 ]; then
174
- pacman --noconfirm -U ./*.pkg.tar.* --overwrite '*'
+ yes | pacman -U ./*.pkg.tar.* --overwrite '*'
175
else
176
- pacman --noconfirm -U ./*.pkg.tar.*
+ yes | pacman -U ./*.pkg.tar.*
177
fi
178
179
_info_msg "All done!"
0 commit comments