Addressed lint errors.

Signed-off-by: RamSet <RamSet@gmail.com>
This commit is contained in:
RamSet 2018-07-17 18:06:32 -06:00
parent 49c79405bc
commit 28a16cebda

View file

@ -168,7 +168,7 @@ port_53_check(){
elif [ "$who53" = "pihole-FTL" ]; then elif [ "$who53" = "pihole-FTL" ]; then
# Proceed with install # Proceed with install
echo -e " ${TICK} Port 53 is in use by our resolver ${COL_LIGHT_GREEN}($who53)${COL_NC}, proceeding with setup" echo -e " ${TICK} Port 53 is in use by our resolver ${COL_LIGHT_GREEN}($who53)${COL_NC}, proceeding with setup"
elif [ "$who53" = "dnsmasq" ] && [[ $forceFTLDNS = "true" ]]; then elif [ "$who53" = "dnsmasq" ] && [[ $skipDNSPortCheck= "true" ]]; then
# If dnsmasq is present, set the dnsmasq-flag to true for future reference # If dnsmasq is present, set the dnsmasq-flag to true for future reference
# (after packages and dependencies are installed). # (after packages and dependencies are installed).
# dnsmasq will be disabled at end of install, prior to FTLDNS start. # dnsmasq will be disabled at end of install, prior to FTLDNS start.
@ -176,7 +176,7 @@ port_53_check(){
echo -e " --skip-DNS-port-check flag was used. The installer ${COL_LIGHT_RED}will disable $who53${COL_NC} after dependencies and packages" echo -e " --skip-DNS-port-check flag was used. The installer ${COL_LIGHT_RED}will disable $who53${COL_NC} after dependencies and packages"
echo -e " have been downloaded, and replace dnsmasq with FTLDNS." echo -e " have been downloaded, and replace dnsmasq with FTLDNS."
dnsmasq_flag=true dnsmasq_flag=true
elif [ "$who53" = "dnsmasq" ] && [[ $forceFTLDNS = "false" ]]; then elif [ "$who53" = "dnsmasq" ] && [[ $skipDNSPortCheck= "false" ]]; then
# If dnsmasq is present, set the dnsmasq-flag to true for future reference # If dnsmasq is present, set the dnsmasq-flag to true for future reference
# (after packages and dependencies are installed). # (after packages and dependencies are installed).
# dnsmasq will be disabled at end of install, prior to FTLDNS start. # dnsmasq will be disabled at end of install, prior to FTLDNS start.
@ -185,7 +185,7 @@ port_53_check(){
echo -e " Please re-run the installer with the following command:" echo -e " Please re-run the installer with the following command:"
echo -e " ${COL_LIGHT_CYAN}curl -sSL https://install.pi-hole.net | bash -s -- --skip-DNS-port-check${COL_NC}" echo -e " ${COL_LIGHT_CYAN}curl -sSL https://install.pi-hole.net | bash -s -- --skip-DNS-port-check${COL_NC}"
exit 0 exit 0
elif [ "$who53" = "systemd-resolve" ] && [[ $forceFTLDNS = "true" ]]; then elif [ "$who53" = "systemd-resolve" ] && [[ $skipDNSPortCheck= "true" ]]; then
# If systemd-resolved is present, set the systemd-resolved-flag to true for future reference # If systemd-resolved is present, set the systemd-resolved-flag to true for future reference
# (after packages and dependencies are installed). # (after packages and dependencies are installed).
# systemd-resolved will be disabled at end of install, prior to FTLDNS start. # systemd-resolved will be disabled at end of install, prior to FTLDNS start.
@ -193,7 +193,7 @@ port_53_check(){
echo -e " --skip-DNS-port-check flag was used. The installer ${COL_LIGHT_RED}will disable $who53${COL_NC} after dependencies and packages" echo -e " --skip-DNS-port-check flag was used. The installer ${COL_LIGHT_RED}will disable $who53${COL_NC} after dependencies and packages"
echo -e " have been downloaded, and replace the system DNS resolver with FTLDNS." echo -e " have been downloaded, and replace the system DNS resolver with FTLDNS."
systemd_resolved_flag=true systemd_resolved_flag=true
elif [ "$who53" = "systemd-resolve" ] && [[ $forceFTLDNS = "false" ]]; then elif [ "$who53" = "systemd-resolve" ] && [[ $skipDNSPortCheck= "false" ]]; then
# If systemd-resolved is present, set the systemd-resolved-flag to true for future reference # If systemd-resolved is present, set the systemd-resolved-flag to true for future reference
# (after packages and dependencies are installed). # (after packages and dependencies are installed).
# systemd-resolved will be disabled at end of install, prior to FTLDNS start. # systemd-resolved will be disabled at end of install, prior to FTLDNS start.