Skip to content

Commit

Permalink
Update i.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiland committed Oct 6, 2024
1 parent cb3f534 commit 8db09d6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions i.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ if [ -z "$sfp" ]; then sfp=${BASH_SOURCE[0]}; fi
SCRIPT_DIR=$(dirname "${sfp}")
if [[ $1 == "release" ]]
then
curl -sSL https://github.com/tmiland/Invidious-Updater/releases/latest/download/invidious_update.sh > invidious_update.sh && \
chmod +x invidious_update.sh
"${SCRIPT_DIR}/${SCRIPT_FILENAME}" -i
curl -sSL https://github.com/tmiland/Invidious-Updater/releases/latest/download/invidious_update.sh > "${SCRIPT_DIR}/${SCRIPT_FILENAME}" && \
chmod +x "${SCRIPT_DIR}/${SCRIPT_FILENAME}"
. "${SCRIPT_DIR}/${SCRIPT_FILENAME}" -i
else
curl -sSL https://github.com/tmiland/Invidious-Updater/raw/master/invidious_update.sh > invidious_update.sh && \
chmod +x invidious_update.sh
"${SCRIPT_DIR}/${SCRIPT_FILENAME}" -i
curl -sSL https://github.com/tmiland/Invidious-Updater/raw/master/invidious_update.sh > "${SCRIPT_DIR}/${SCRIPT_FILENAME}" && \
chmod +x "${SCRIPT_DIR}/${SCRIPT_FILENAME}"
. "${SCRIPT_DIR}/${SCRIPT_FILENAME}" -i
fi

0 comments on commit 8db09d6

Please sign in to comment.