#!/bin/bash source _common.sh source /usr/share/yunohost/helpers ynh_abort_if_errors #================================================= # SPECIFIC GETTERS FOR TOML SHORT KEY #================================================= get_config_permission() { result=$(grep -- ".*: $role" "$install_dir/config.yaml" | sed -r "s/: $role//" | tr -d '[:blank:]' | sed '/^#/d' | tr -d '\"' | tr -d "'" | tr '\n' ',') echo $result } get__botname() { botname=$(ynh_app_setting_get --app $app --key botname) echo "${botname}" } get__listrelaybot() { role="relaybot" existingRelaybotUsers=$(get_config_permission) cat <