-for a in cf/* ; do
- if [ -f $a ] ; then
- if [ ! -f $DEST/$a ] ; then
- echo "$a: new, installed"
- cp $a $DEST/$a
- elif diff -u $DEST/$a $a ; then
- echo "$a: no differences"
+for a in $SH_CONFIGS ; do
+ if [ -f run/cf/$a ] ; then
+ if [ ! -f $DEST/cf/$a ] ; then
+ echo "cf/$a: new, installed"
+ cp run/cf/$a $DEST/cf/$a
+ elif [ $a == catalog-rules ] ; then
+ echo "cf/$a: will be regenerated automatically"
+ elif diff -u $DEST/cf/$a run/cf/$a ; then
+ echo "cf/$a: no differences"