Just noticing how stupid that idea was
This commit is contained in:
parent
c060e3af17
commit
03cc6a51d5
1 changed files with 0 additions and 3 deletions
|
@ -1,10 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
set -eo pipefail
|
|
||||||
|
|
||||||
# Cancel execution of system-wide punktdateien-bashrc if user-wide installation is detected
|
# 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
|
if [ -n "${BASHRCD_SYSTEM}" ] && [ -d "${HOME}/.bashrc.d" ] && [ -f "${HOME}/.bashrc.d/startup.sh" ]; then
|
||||||
set +eo pipefail
|
|
||||||
unset BASHRCD_SYSTEM
|
unset BASHRCD_SYSTEM
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
@ -88,4 +86,3 @@ for file in startup.d/*; do
|
||||||
done
|
done
|
||||||
|
|
||||||
unset BASHRCD_SYSTEM
|
unset BASHRCD_SYSTEM
|
||||||
set +eo pipefail
|
|
||||||
|
|
Loading…
Reference in a new issue