allow all files for PF_SOURCE

This commit is contained in:
Dylan Araps 2021-09-04 20:22:56 +03:00
parent 9880e5a899
commit 8edb0a4dea
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

2
pfetch
View File

@ -1823,7 +1823,7 @@ EOF
# Allow the user to execute their own script and modify or # Allow the user to execute their own script and modify or
# extend pfetch's behavior. # extend pfetch's behavior.
# shellcheck source=/dev/null # 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 # Ensure that the 'TMPDIR' is writable as heredocs use it and
# fail without the write permission. This was found to be the # fail without the write permission. This was found to be the