Skip to content

Commit c18373d

Browse files
author
Oliver Cervera
authored
Install curl if check_updates is enabled
Check and install curl dependency if "CHECK_UPDATES" is enabled. #93
1 parent a8ef5e9 commit c18373d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snapraid-aio-script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function main(){
7474

7575

7676
# Initialize notification
77-
if [ "$HEALTHCHECKS" -eq 1 ] || [ "$TELEGRAM" -eq 1 ] || [ "$DISCORD" -eq 1 ]; then
77+
if [ "$HEALTHCHECKS" -eq 1 ] || [ "$TELEGRAM" -eq 1 ] || [ "$DISCORD" -eq 1 ] || [ "$CHECK_UPDATES" -eq 1 ]; then
7878
# Check for notification dependencies
7979
check_and_install curl
8080
check_and_install jq

0 commit comments

Comments
 (0)