|
@ -182,6 +182,7 @@ fi |
|
|
# Check and update modules. |
|
|
# Check and update modules. |
|
|
if [ -n "${functionsdir}" ]; then |
|
|
if [ -n "${functionsdir}" ]; then |
|
|
if [ -d "${functionsdir}" ]; then |
|
|
if [ -d "${functionsdir}" ]; then |
|
|
|
|
|
( |
|
|
cd "${functionsdir}" || exit |
|
|
cd "${functionsdir}" || exit |
|
|
for functionfile in *; do |
|
|
for functionfile in *; do |
|
|
# check if module exists in the repo and remove if missing. |
|
|
# check if module exists in the repo and remove if missing. |
|
@ -225,6 +226,7 @@ if [ -n "${functionsdir}" ]; then |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
) |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|