Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kimzuni committed Apr 29, 2024
1 parent 7f417d5 commit 77cc8f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/helper_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ UpdateRequired() {

CURRENT_COMMIT=$(git -C "$GIT_REPO_PATH" log HEAD -1 | head -1 | awk '{print $2}')
LATEST_COMMIT=$(curl -sfSL "$GIT_REPO_API/commits/main" | jq .sha -r)
TARGET_COMMIT="${TARGET_COMMIT_ID:-$LATEST_COMMIT}"

LogInfo "Current Version: $CURRENT_COMMIT"

Expand Down
2 changes: 2 additions & 0 deletions scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ if [ "${UPDATE_ON_BOOT,,}" != true ]; then
exit 1
fi

TARGET_COMMIT="${TARGET_COMMIT_ID:-$LATEST_COMMIT}"

countdown_message "${AUTO_UPDATE_WARN_MINUTES}" "${AUTO_UPDATE_WARN_MESSAGE}"
countdown_exit_code=$?
case "${countdown_exit_code}" in
Expand Down

0 comments on commit 77cc8f4

Please sign in to comment.