mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-25 09:01:48 +00:00
Merge pull request #1291 from jlengelsen/bug-install-script-binary-ownership
Fix ownership issue in bash install script
This commit is contained in:
commit
4ecf541748
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ verify_binary() {
|
||||||
setup_binary() {
|
setup_binary() {
|
||||||
chmod 755 "${TMP_BIN}"
|
chmod 755 "${TMP_BIN}"
|
||||||
info "Installing flux to ${BIN_DIR}/flux"
|
info "Installing flux to ${BIN_DIR}/flux"
|
||||||
tar -xzf "${TMP_BIN}" -C "${TMP_DIR}"
|
tar -xzof "${TMP_BIN}" -C "${TMP_DIR}"
|
||||||
|
|
||||||
local CMD_MOVE="mv -f \"${TMP_DIR}/flux\" \"${BIN_DIR}\""
|
local CMD_MOVE="mv -f \"${TMP_DIR}/flux\" \"${BIN_DIR}\""
|
||||||
if [[ -w "${BIN_DIR}" ]]; then
|
if [[ -w "${BIN_DIR}" ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue