Skip to content

Commit cd53912

Browse files
authored
dnf5 -y
1 parent 580bcfb commit cd53912

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ fi
2323

2424
# Simple case to install where no packages need excluding
2525
if [[ "${#INCLUDED_PACKAGES[@]}" -gt 0 && "${#EXCLUDED_PACKAGES[@]}" -eq 0 ]]; then
26-
dnf5 install \
26+
dnf5 -y install \
2727
${INCLUDED_PACKAGES[@]}
2828

2929
# Install/excluded packages both at same time
3030
elif [[ "${#INCLUDED_PACKAGES[@]}" -gt 0 && "${#EXCLUDED_PACKAGES[@]}" -gt 0 ]]; then
31-
dnf5 override remove \
31+
dnf5 -y remove \
3232
${EXCLUDED_PACKAGES[@]} \
3333
$(printf -- "--install=%s " ${INCLUDED_PACKAGES[@]})
3434

@@ -48,6 +48,6 @@ fi
4848

4949
# Remove any excluded packages which are still present on image
5050
if [[ "${#EXCLUDED_PACKAGES[@]}" -gt 0 ]]; then
51-
dnf5 override remove \
51+
dnf5 -y remove \
5252
${EXCLUDED_PACKAGES[@]}
5353
fi

0 commit comments

Comments
 (0)