Just noticing how stupid that idea was

This commit is contained in:
JeremyStar™ 2024-06-03 02:23:51 +02:00
parent c060e3af17
commit 03cc6a51d5
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -1,10 +1,8 @@
#!/usr/bin/env bash
# shellcheck disable=SC2154
set -eo pipefail
# Cancel execution of system-wide punktdateien-bashrc if user-wide installation is detected
if [ -n "${BASHRCD_SYSTEM}" ] && [ -d "${HOME}/.bashrc.d" ] && [ -f "${HOME}/.bashrc.d/startup.sh" ]; then
set +eo pipefail
unset BASHRCD_SYSTEM
return 0
fi
@ -88,4 +86,3 @@ for file in startup.d/*; do
done
unset BASHRCD_SYSTEM
set +eo pipefail