#!/bin/bash /usr/bin/getent passwd sogo | grep -q '/home/sogo' if [ $? -eq 0 ]; then /usr/sbin/usermod -d /var/lib/sogo -m -s /sbin/nologin -c "SOGo daemon" sogo 2>/dev/null fi rm -f /var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults