Revert "source with source not dot (#6137)"

This reverts commit 8fd2ebd3d7, reversing
changes made to 557bc6f179.
This commit is contained in:
Adam Warner
2025-04-04 19:12:57 +01:00
parent 8fd2ebd3d7
commit 4108c817dc
8 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ else
fi
# shellcheck disable=SC1091
source /etc/pihole/versions
. /etc/pihole/versions
# Read the value of an FTL config key. The value is printed to stdout.
get_ftl_conf_value() {
+2 -2
View File
@@ -22,10 +22,10 @@ domain=""
# Source color table
colfile="/opt/pihole/COL_TABLE"
source "${colfile}"
. "${colfile}"
# Source api functions
source "${PI_HOLE_INSTALL_DIR}/api.sh"
. "${PI_HOLE_INSTALL_DIR}/api.sh"
Help() {
echo "Usage: pihole -q [option] <domain>
+1 -1
View File
@@ -40,7 +40,7 @@ function get_remote_hash() {
# Source the utils file for addOrEditKeyValPair()
# shellcheck disable=SC1091
source /opt/pihole/utils.sh
. /opt/pihole/utils.sh
# Remove the below three legacy files if they exist
rm -f "/etc/pihole/GitHubVersions"
+2 -2
View File
@@ -17,12 +17,12 @@ cachedVersions="/etc/pihole/versions"
if [ -f ${cachedVersions} ]; then
# shellcheck disable=SC1090
source "$cachedVersions"
. "$cachedVersions"
else
echo "Could not find /etc/pihole/versions. Running update now."
pihole updatechecker
# shellcheck disable=SC1090
source "$cachedVersions"
. "$cachedVersions"
fi
main() {