Skip to content

Commit

Permalink
Add dkpg option to overwrite conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jun 15, 2024
1 parent fc14643 commit 59aa06c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ version=${1:-'8.3'}
ini=${2:-'production'}
src=${0%/*}/..
debconf_fix="DEBIAN_FRONTEND=noninteractive"
apt_install="sudo $debconf_fix apt-fast install -y --no-install-recommends"
dpkg_options='-o Dpkg::Options::="--force-confnew"'
apt_install="sudo $debconf_fix apt-fast install -y --no-install-recommends $dpkg_options"
scripts="$src"/scripts

add_sudo >/dev/null 2>&1
Expand Down

0 comments on commit 59aa06c

Please sign in to comment.