#!/bin/sh # Exit if directory does not exist [ -d /etc/cups ] || exit 0 # Fix ownership of files in /etc/cups [ `stat -c '%g' /etc/cups` != 209 ] && chown -R 0:209 /etc/cups # Ensure script exits cleanly exit 0