mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2026-09-10 07:36:35 -04:00
fc_install: Make inherit_errexit optional
Bash v3 does not have this option and no equivalent Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
939486b7bf
commit
74e2121584
|
|
@ -27,7 +27,9 @@ scriptversion="1.0.0"
|
|||
# shellcheck enable=require-variable-braces
|
||||
|
||||
set -euo pipefail
|
||||
shopt -s inherit_errexit
|
||||
if shopt | grep -s inherit_errexit; then
|
||||
shopt -s inherit_errexit
|
||||
fi
|
||||
|
||||
# environment
|
||||
# -----------
|
||||
|
|
|
|||
Loading…
Reference in a new issue