2016-11-11 00:12:54 +01:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Updates the known modules as to be found in https://github.com/processone/ejabberd-contrib
|
|
|
|
|
2017-03-21 18:59:12 +01:00
|
|
|
source "${EJABBERD_HOME}/scripts/lib/base_config.sh"
|
|
|
|
source "${EJABBERD_HOME}/scripts/lib/config.sh"
|
|
|
|
source "${EJABBERD_HOME}/scripts/lib/base_functions.sh"
|
|
|
|
source "${EJABBERD_HOME}/scripts/lib/functions.sh"
|
2016-11-11 00:12:54 +01:00
|
|
|
|
|
|
|
|
|
|
|
run_modules_update_specs() {
|
2017-03-21 18:59:12 +01:00
|
|
|
echo -n 'Updating module specs... '
|
2016-11-11 00:12:54 +01:00
|
|
|
${EJABBERDCTL} modules_update_specs
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
is_true ${EJABBERD_SKIP_MODULES_UPDATE} \
|
|
|
|
&& exit 0
|
|
|
|
|
|
|
|
run_modules_update_specs
|
|
|
|
|
|
|
|
|
|
|
|
exit 0
|