Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit aca0867

Browse files
committed
pm/dpkg/install: install new configuration by default
Specifying --force-confnew so Autobuild3 wouldn't get hung up by a prompt.
1 parent ba5aac6 commit aca0867

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

pm/dpkg/install

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
#!/bin/bash
22
# dpkg/install: Defines the install procedure for DPKG
33
##@copyright GPL-2.0+
4-
dpkg $PM_ROOTPARAM -i --auto-deconfigure "${PKGNAME}_${PKGVER}-${PKGREL}_${ABHOST%%\/*}.deb" \
4+
dpkg $PM_ROOTPARAM -i \
5+
--auto-deconfigure \
6+
--force-confnew \
7+
"${PKGNAME}_${PKGVER}-${PKGREL}_${ABHOST%%\/*}.deb" \
58
|| abdie "Failed to install ${PKGNAME}-dbg_${PKGVER}-${PKGREL}_${ABHOST%%\/*}.deb: $?."
69

710
if bool "$ABSPLITDBG"; then
8-
dpkg $PM_ROOTPARAM -i --auto-deconfigure "${PKGNAME}-dbg_${PKGVER}-${PKGREL}_${ABHOST%%\/*}.deb" \
11+
dpkg $PM_ROOTPARAM -i \
12+
--auto-deconfigure \
13+
--force-confnew \
14+
"${PKGNAME}-dbg_${PKGVER}-${PKGREL}_${ABHOST%%\/*}.deb" \
915
|| abdie "Failed to install ${PKGNAME}-dbg_${PKGVER}-${PKGREL}_${ABHOST%%\/*}.deb: $?."
1016
fi

0 commit comments

Comments
 (0)