#!/bin/sh
#
# $Id: file_get_files_cups,v 1.6 2005/02/10 17:01:36 jg 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 ; echo * ) ; do
    test -e $1/etc/cups/$i -a ! -d $1/etc/cups/$i -a $i = ${i%*.scpmbackup-*} && echo /etc/cups/$i
done

exit 0
