Skip to content

Commit

Permalink
fix(pm/dpkg.sh): set DEBIAN_FRONTEND=noninteractive
Browse files Browse the repository at this point in the history
This prevents Debconf from blocking Ciel jobs.
  • Loading branch information
MingcongBai committed Feb 5, 2024
1 parent 721d6bb commit 7c146bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pm/dpkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ dpkgctrl_dbg() {

pm_install_all() {
for i in "$@"; do
dpkg --force-confnew --auto-deconfigure -i "$i" \
DEBIAN_FRONTEND=noninteractive \
dpkg --force-confnew --auto-deconfigure -i "$i" \
|| abdie "Failed to install $i: $?"
done
}
Expand Down

0 comments on commit 7c146bf

Please sign in to comment.