Skip to content

Commit

Permalink
Install curl if check_updates is enabled
Browse files Browse the repository at this point in the history
Check and install curl dependency if "CHECK_UPDATES" is enabled. #93
  • Loading branch information
auanasgheps committed Apr 8, 2024
1 parent a8ef5e9 commit c18373d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapraid-aio-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function main(){


# Initialize notification
if [ "$HEALTHCHECKS" -eq 1 ] || [ "$TELEGRAM" -eq 1 ] || [ "$DISCORD" -eq 1 ]; then
if [ "$HEALTHCHECKS" -eq 1 ] || [ "$TELEGRAM" -eq 1 ] || [ "$DISCORD" -eq 1 ] || [ "$CHECK_UPDATES" -eq 1 ]; then
# Check for notification dependencies
check_and_install curl
check_and_install jq
Expand Down

0 comments on commit c18373d

Please sign in to comment.