We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 580bcfb commit cd53912Copy full SHA for cd53912
build.sh
@@ -23,12 +23,12 @@ fi
23
24
# Simple case to install where no packages need excluding
25
if [[ "${#INCLUDED_PACKAGES[@]}" -gt 0 && "${#EXCLUDED_PACKAGES[@]}" -eq 0 ]]; then
26
- dnf5 install \
+ dnf5 -y install \
27
${INCLUDED_PACKAGES[@]}
28
29
# Install/excluded packages both at same time
30
elif [[ "${#INCLUDED_PACKAGES[@]}" -gt 0 && "${#EXCLUDED_PACKAGES[@]}" -gt 0 ]]; then
31
- dnf5 override remove \
+ dnf5 -y remove \
32
${EXCLUDED_PACKAGES[@]} \
33
$(printf -- "--install=%s " ${INCLUDED_PACKAGES[@]})
34
@@ -48,6 +48,6 @@ fi
48
49
# Remove any excluded packages which are still present on image
50
if [[ "${#EXCLUDED_PACKAGES[@]}" -gt 0 ]]; then
51
52
${EXCLUDED_PACKAGES[@]}
53
fi
0 commit comments