Skip to content

Commit

Permalink
Fix script update
Browse files Browse the repository at this point in the history
Fixed script update function.
  • Loading branch information
tmiland committed Nov 15, 2019
1 parent 468f06c commit 4b7cbf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions invidious_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#### Maintained by @tmiland ####
######################################################################

version='1.4.2' # Must stay on line 14 for updater to fetch the numbers
version='1.4.3' # Must stay on line 14 for updater to fetch the numbers

#------------------------------------------------------------------------------#
#
Expand Down Expand Up @@ -600,7 +600,7 @@ update_updater() {
if [[ $(get_updater_version "${SCRIPT_DIR}/$SCRIPT_FILENAME") < "${RELEASE_TAG}" ]]; then
#if [[ $(get_updater_version "${SCRIPT_DIR}/${SCRIPT_FILENAME}") < $(get_updater_version "${tmpfile}") ]]; then
#LV=$(get_updater_version "${tmpfile}")
if [ $UPDATE_SCRIPT = 'check' ]; then
if [ $UPDATE_SCRIPT = 'yes' ]; then
show_update_banner
echo -e "${RED}${ARROW} Do you want to update [Y/N?]${NC}"
read -p "" -n 1 -r
Expand Down

0 comments on commit 4b7cbf2

Please sign in to comment.