Skip to content

Commit be20b16

Browse files
authored
Merge pull request #970 from chefsale/master
fix: force symlink override if exists
2 parents eddff45 + f54624e commit be20b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packer/linux/conf/bin/bk-install-elastic-stack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ if [[ "${BUILDKITE_ADDITIONAL_SUDO_PERMISSIONS}" != "" ]] ; then
111111
fi
112112

113113
# Choose the right agent binary
114-
ln -s "/usr/bin/buildkite-agent-${BUILDKITE_AGENT_RELEASE}" /usr/bin/buildkite-agent
114+
ln -sf "/usr/bin/buildkite-agent-${BUILDKITE_AGENT_RELEASE}" /usr/bin/buildkite-agent
115115

116116
agent_metadata=(
117117
"queue=${BUILDKITE_QUEUE}"

0 commit comments

Comments
 (0)