euid="$('command' 'id' '-u')"
if [ "${euid}" = 0 ]; then
  home_ls="$('command' 'ls' '-ld' '--' "${HOME%/}")"
  home_owner="$(printf '%s\n' "${home_ls}" | 'command' 'awk' 'NR == 1 { print $3 }')"
  if [ "${home_owner}" '!=' 'root' ]; then
    >&2 printf '%s' "\033[33m$(basename "$0")\033[0m: please retry without \033[4;32msudo\033[0m\n"
    exit 1
  fi
fi
