Skip to content

Commit

Permalink
Updated version number and quoted version number info.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmck committed Feb 23, 2020
1 parent ba7e32a commit bcaba7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions padd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ LC_NUMERIC=C
############################################ VARIABLES #############################################

# VERSION
padd_version="3.0.2"
padd_version="3.1"

# DATE
today=$(date +%Y%m%d)
Expand Down Expand Up @@ -435,7 +435,7 @@ GetVersionInformation() {

else # the file doesn't exist, create it...
# Gather core version information...
read -r -a core_versions <<< $(pihole -v -p)
read -r -a core_versions <<< "$(pihole -v -p)"
core_version=$(echo "${core_versions[3]}" | tr -d '\r\n[:alpha:]')
core_version_latest=${core_versions[5]//)}

Expand All @@ -454,7 +454,7 @@ GetVersionInformation() {
fi

# Gather web version information...
read -r -a web_versions <<< $(pihole -v -a)
read -r -a web_versions <<< "$(pihole -v -a)"
web_version=$(echo "${web_versions[3]}" | tr -d '\r\n[:alpha:]')
web_version_latest=${web_versions[5]//)}
if [[ "${web_version_latest}" == "ERROR" ]]; then
Expand All @@ -472,7 +472,7 @@ GetVersionInformation() {
fi

# Gather FTL version information...
read -r -a ftl_versions <<< $(pihole -v -f)
read -r -a ftl_versions <<< "$(pihole -v -f)"
ftl_version=$(echo "${ftl_versions[3]}" | tr -d '\r\n[:alpha:]')
ftl_version_latest=${ftl_versions[5]//)}
if [[ "${ftl_version_latest}" == "ERROR" ]]; then
Expand Down

0 comments on commit bcaba7d

Please sign in to comment.