mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
8 lines
312 B
Bash
8 lines
312 B
Bash
# -*- shell-script -*-
|
|
|
|
readonly XTRACE_ENABLE=$(set +o | grep xtrace) # This is a trick to later only restore set -x if it was set when calling this script
|
|
set +x
|
|
for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null) ; do
|
|
[ -r $helper ] && . $helper || true
|
|
done
|
|
eval "$XTRACE_ENABLE"
|