File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ PADD (formerly Chronometer2) is a more expansive version of the original chronom
46
46
./padd.sh --server < DOMAIN| IP>
47
47
```
48
48
49
+ #### Dependencies
50
+ - curl
51
+ - jq
52
+ - dig
53
+
54
+
49
55
### Authentication
50
56
51
57
Pi-hole v6 uses a completely new API with a new authentication mechanism
Original file line number Diff line number Diff line change @@ -1531,12 +1531,12 @@ check_dependencies() {
1531
1531
if ! command -v dig > /dev/null 2>&1 ; then
1532
1532
printf " %b" " ${check_box_bad} Error!\n 'dig' is missing but required.\n"
1533
1533
hasDeps=false
1534
- fi
1534
+ fi
1535
1535
1536
- if [ " ${hasDeps} " = false ]; then
1536
+ if ! [ " ${hasDeps} " = true ]; then
1537
1537
printf " %b" " \n Please install the dependencies noted above.\n"
1538
1538
exit 1
1539
- fi
1539
+ fi
1540
1540
}
1541
1541
1542
1542
# ######################################### MAIN FUNCTIONS ##########################################
You can’t perform that action at this time.
0 commit comments