Skip to content

Commit

Permalink
Update invidious_update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiland committed Oct 7, 2024
1 parent ca3c0cf commit 3afd173
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 @@ -116,7 +116,7 @@ ADMINS=${ADMINS:-}
# Default Captcha Key
CAPTCHA_KEY=${CAPTCHA_KEY:-}
# Default Swap option
SWAP_OPTIONS=${SWAP_OPTIONS:-n}
SWAP_OPTIONS=${SWAP_OPTIONS:-}
# Logfile
LOGFILE=invidious_update.log

Expand Down Expand Up @@ -1637,7 +1637,7 @@ install_invidious() {
echo -e "${ORANGE}Advice: Free memory: $free MB is less than recommended to build Invidious${NC}"
# Let the user enter swap options:
while [[ $SWAP_OPTIONS != "y" && $SWAP_OPTIONS != "n" ]]; do
read -p "Do you want to add swap space? [y/n]: " -e SWAP_OPTIONS
read -rp "Do you want to add swap space? [y/n]: " -e SWAP_OPTIONS
done

while true; do
Expand Down

0 comments on commit 3afd173

Please sign in to comment.