aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2021-09-04 20:22:56 +0300
committerDylan Araps <dylan.araps@gmail.com>2021-09-04 20:22:56 +0300
commit8edb0a4dea9ac52ed6c85632264759007ebacf82 (patch)
tree221b83f991ae55445afcf3cf6ff558210eea8221
parent9880e5a89977aae214da3c956da0626704cb3907 (diff)
downloadpfetch-8edb0a4dea9ac52ed6c85632264759007ebacf82.tar.gz
allow all files for PF_SOURCE
-rwxr-xr-xpfetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfetch b/pfetch
index 1d306d1..287ec1a 100755
--- a/pfetch
+++ b/pfetch
@@ -1823,7 +1823,7 @@ EOF
# Allow the user to execute their own script and modify or
# extend pfetch's behavior.
# shellcheck source=/dev/null
- ! [ -x "$PF_SOURCE" ] || . "$PF_SOURCE"
+ ! [ -f "$PF_SOURCE" ] || . "$PF_SOURCE"
# Ensure that the 'TMPDIR' is writable as heredocs use it and
# fail without the write permission. This was found to be the