#!/bin/sh [ "$1" ] || exit 1 PROFILE_DIR="/etc/lliurex-applications-profiles" for g in $(groups "$1") ; do rc=0 grep -rxFl "$g" "$PROFILE_DIR" done exit 0