#!/bin/sh FONT_FILES="99-slp.conf" if [ ${USER} == "root" ] then # Change file owner # Font files for file in `echo $FONT_FILES` do chown root:root /usr/etc/fonts/conf.d/$file done fi # Font files for file in `echo $FONT_FILES` do chmod 644 /usr/etc/fonts/conf.d/$file done