Fix crashes
This commit is contained in:
parent
f2bfb0248c
commit
c060e3af17
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ 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
|
set +eo pipefail
|
||||||
|
unset BASHRCD_SYSTEM
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -47,7 +48,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load configuration file
|
# Load configuration file
|
||||||
source "config.sh"
|
if [ -f "config.sh" ] && source "config.sh"
|
||||||
|
|
||||||
# Process configuration changes
|
# Process configuration changes
|
||||||
# -> Flow control
|
# -> Flow control
|
||||||
|
|
Loading…
Reference in a new issue