From 8edb0a4dea9ac52ed6c85632264759007ebacf82 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 4 Sep 2021 20:22:56 +0300 Subject: [PATCH] allow all files for PF_SOURCE --- pfetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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