Skip to content

Commit 0ca8d9f

Browse files
klakin-pivotalaramprice
authored andcommitted
Removes 'install' argument in pkg_mgr function
This commit restores the `pkg_mgr` function to its previous general-purpose state. This resolves this issue in CI: ``` + local 'script=export DEBIAN_FRONTEND=noninteractive; apt-get install --fix-broken --no-install-recommends --assume-yes install systemd' ... Reading package lists... Building dependency tree... E: Unable to locate package install ``` The `pkg_mgr` function is used for install, purge, and dist-upgrade, so hard-coding the 'install' operation isn't right. Signed-off-by: Nader Ziada <[email protected]>
1 parent b551a52 commit 0ca8d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stemcell_builder/lib/prelude_apply.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ git config --global --add safe.directory /opt/bosh
2424

2525
function pkg_mgr {
2626
run_in_chroot $chroot "apt-get update"
27-
run_in_chroot $chroot "export DEBIAN_FRONTEND=noninteractive; apt-get install --fix-broken --no-install-recommends --assume-yes $*"
27+
run_in_chroot $chroot "export DEBIAN_FRONTEND=noninteractive; apt-get --fix-broken --no-install-recommends --assume-yes $*"
2828
run_in_chroot $chroot "apt-get clean"
2929
}
3030

0 commit comments

Comments
 (0)