Skip to content

Commit 669f1f1

Browse files
authored
Merge pull request #799 from puppetlabs/PA-7608-apt
(PA-7608) Fix issue with deb when using puppetcore8-nightly
2 parents cde8ad4 + 73f014a commit 669f1f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/install_shell.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ install_file() {
693693
assert_unmodified_apt_config
694694

695695
dpkg -i --force-confmiss "$2"
696-
if [[ "$collection" =~ core ]]; then
696+
if [[ "$collection" != puppetcore*-nightly && "$collection" =~ core ]]; then
697697
auth_conf="/etc/apt/auth.conf.d/apt-puppetcore-puppet.conf"
698698
sed -i "/^#?login/d" "${auth_conf}"
699699
echo "login ${username}" >> "${auth_conf}"

0 commit comments

Comments
 (0)