mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
fix: install script unpack uncloudd binary to tmp dir
This commit is contained in:
1 parent
cdb2884e4e
commit
bb51e01c5c
1 file changed
+2
-2
+2
-2
@@ -122,8 +122,8 @@ install_uncloud_binaries() {
|
||||
if ! curl -fsSL -o "${uncloudd_download_path}" "${uncloudd_url}"; then
|
||||
error "Failed to download uncloudd binary."
|
||||
fi
|
||||
tar -xf "${uncloudd_download_path}"
|
||||
if ! install ./uncloudd "${uncloudd_install_path}"; then
|
||||
tar -xf --directory "${tmp_dir}" "${uncloudd_download_path}"
|
||||
if ! install "${tmp_dir}/uncloudd" "${uncloudd_install_path}"; then
|
||||
error "Failed to install uncloud binary to ${uncloudd_install_path}"
|
||||
fi
|
||||
log "✓ uncloudd binary installed: ${uncloudd_install_path}"
|
||||
|
||||
Reference in new issue
Block a user