|
|
|
@ -132,11 +132,6 @@ function link_config_files { |
|
|
|
link_etc inputrc # last command required to detect successful installation |
|
|
|
} |
|
|
|
|
|
|
|
function force_reload { |
|
|
|
bind -f /etc/inputrc 2>/dev/null # arch: dismiss harmless warning |
|
|
|
# source /etc/profile |
|
|
|
} |
|
|
|
|
|
|
|
function in_azerty_zone { |
|
|
|
[[ -L /etc/localtime ]] || return 4 |
|
|
|
|
|
|
|
@ -217,9 +212,10 @@ function launch_hooks { |
|
|
|
echo "Processing: $hook" |
|
|
|
|
|
|
|
# shellcheck disable=SC1090 |
|
|
|
if ! source "$hook"; then |
|
|
|
>&2 echo 'WARNING: hook failure, bypassed' |
|
|
|
if ! miaou-bash "$hook" 3>/dev/null; then |
|
|
|
echo 'WARNING: hook failure, bypassed' |
|
|
|
fi |
|
|
|
echo ----------------- |
|
|
|
done |
|
|
|
} |
|
|
|
|
|
|
|
@ -237,4 +233,3 @@ link_config_files |
|
|
|
link_miaou_bash |
|
|
|
create_sudoers |
|
|
|
launch_hooks |
|
|
|
# force_reload |