mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix helpers loader: helpers are available in v1 or v2
This commit is contained in:
parent
b67d4621fc
commit
c4c0210dc1
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ set +x
|
|||
|
||||
YNH_HELPERS_DIR="$SCRIPT_DIR/helpers.v${YNH_HELPERS_VERSION}.d"
|
||||
case "$YNH_HELPERS_VERSION" in
|
||||
1)
|
||||
"1" | "2")
|
||||
readarray -t HELPERS < <(find "$YNH_HELPERS_DIR" -mindepth 1 -maxdepth 1 -type f)
|
||||
for helper in "${HELPERS[@]}"; do
|
||||
[ -r "$helper" ] && source "$helper"
|
||||
|
|
Loading…
Add table
Reference in a new issue