Update bitfocus-companion-install.sh
This commit is contained in:
@@ -26,11 +26,9 @@ if [[ -z "$RELEASE" || -z "$ASSET_URL" ]]; then
|
|||||||
msg_error "Could not resolve a matching Linux x64 Companion package from the Bitfocus API."
|
msg_error "Could not resolve a matching Linux x64 Companion package from the Bitfocus API."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
msg_ok "Found Companion v${RELEASE}"
|
msg_ok "Found Companion ${RELEASE}"
|
||||||
|
|
||||||
msg_info "Downloading Bitfocus Companion v${RELEASE}"
|
|
||||||
fetch_and_deploy_from_url "$ASSET_URL" "/opt/bitfocus-companion"
|
fetch_and_deploy_from_url "$ASSET_URL" "/opt/bitfocus-companion"
|
||||||
msg_ok "Downloaded and Extracted Bitfocus Companion v${RELEASE}"
|
|
||||||
|
|
||||||
msg_info "Installing udev Rules"
|
msg_info "Installing udev Rules"
|
||||||
if [[ -f /opt/bitfocus-companion/50-companion-headless.rules ]]; then
|
if [[ -f /opt/bitfocus-companion/50-companion-headless.rules ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user