1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-12 17:07:23 +01:00

Improve formatting of setup output

This commit is contained in:
downtownallday
2022-03-06 10:53:00 -05:00
parent eb83732000
commit ee8d627c3b
3 changed files with 62 additions and 13 deletions

View File

@@ -156,7 +156,9 @@ fi
#
if [ -d "${LOCAL_MODS_DIR:-local}" ]; then
for mod in $(ls "${LOCAL_MODS_DIR:-local}" | grep -v '~$'); do
${LOCAL_MODS_DIR:-local}/$mod
if [ -x ${LOCAL_MODS_DIR:-local}/$mod ]; then
${LOCAL_MODS_DIR:-local}/$mod |& sed -e "s/^/mod(${mod%%.*}): /"
fi
done
fi