#!/bin/sh
#
# $Id: file_get_files_cups,v 1.2 2005/07/04 17:40:48 gleissner Exp $
#
#
# Project     :  SCPM (System Configuration Profile Management)
# Module      :  SCPM utilities
# File        :  file_get_files_cups
# Description :  Prints relevant files of /etc/cups
# Author      :  Joachim Gleissner <jg@suse.de>
#
# Copyright 2002-2004 SuSE Linux AG
#           2005 SUSE LINUX Products GmbH
#
# Released under the terms of the GNU General Public License
# (see file COPYRIGHT in project root directory).
#

echo /etc/cups
for i in $( cd $1/etc/cups ; /bin/ls -A -x --color=never ) ; do
    test -e $1/etc/cups/$i -a ! -d $1/etc/cups/$i -a $i = ${i%*.scpmbackup-*} && echo /etc/cups/$i
done

exit 0
