Skip to content

Commit

Permalink
Get the latest version again (#2602)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
  • Loading branch information
enoch85 committed Dec 17, 2023
1 parent 1a8408e commit 1f5340d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1554,10 +1554,8 @@ fi

# Check new version
# shellcheck source=lib.sh
if [ -z "$NCVERSION" ]
then
nc_update
fi
source /var/scripts/fetch_lib.sh
nc_update
if [ "${CURRENTVERSION%%.*}" -ge "$1" ]
then
sleep 1
Expand Down

0 comments on commit 1f5340d

Please sign in to comment.