Fix typos and logic bug in remote_install.sh and Makefile

- remote_install.sh: Fix $FASE typo → $FALSE so FROM_CURL initializes correctly
- remote_install.sh: Fix else → elif in check_can_upgrade so logerr only
  fires when there are actual errors, not unconditionally
- Makefile: Fix missing closing paren in $(shell ...) and 'realease' typo
  in dockerbuildnrun target

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pull/494/head
Daniel Tehranian 2026-02-15 23:44:31 -06:00
parent 3af81d8624
commit 8e525c41b4
2 changed files with 4 additions and 4 deletions

View File

@ -224,7 +224,7 @@ quickbuild: armhf arm64
# This is run inside container Dockerfile.releaseBinariies (aqualinkd-releasebin)
dockerbuildnrun: ./release/aqualinkd
$(shell ./release/aqualinkd -d -c ./realease/aqualinkd.test.conf
$(shell ./release/aqualinkd -d -c ./release/aqualinkd.test.conf)
debugbuild: CFLAGS = $(DFLAGS)

View File

@ -34,7 +34,7 @@ ERROR_ON_GLIBC=$FALSE # $TRUE will error and not continue, $FALSE will give a wa
REQUIRED_GLIBC_VERSION="2.31"
FROM_CURL=$FASE
FROM_CURL=$FALSE
SYSTEMD_LOG=$FALSE
USE_RELEASE_PKG=$TRUE
@ -225,9 +225,9 @@ function check_can_upgrade {
fi
fi
if [[ "$output" == "" ]] && [[ "$REL_VERSION" != "" ]]; then
if [[ "$output" == "" ]] && [[ "$REL_VERSION" != "" ]]; then
return "$TRUE"
else [[ "$output" != "" ]]
elif [[ "$output" != "" ]]; then
logerr "$output";
return "$FALSE"
fi