post_install() { if [ "$(getent group colord | cut -d ":" -f 3)" != "71" ]; then groupadd -g 71 colord fi if [ "$(getent passwd colord | cut -d ":" -f 3)" != "71" ]; then useradd -c "Color Daemon Owner" -d /var/lib/colord -u 71 \ -g colord -s /bin/false colord fi } post_remove() { groupdel colord 2>/dev/null || true userdel colord 2>/dev/null || true }