#!/bin/sh
case " $(id -nG) " in
    *' ddns-rip-duc '*) exec /usr/bin/python3 /opt/ddns-rip-duc/desktop.py "$@" ;;
    *) if [ "${1:-}" != --tray ]; then echo 'Log out and back in after installation, or ask an administrator to grant this OS user access to the ddns-rip-duc group.' >&2; fi ;;
esac
