From d2fb9fee28f197d17fbb078f864ffa96909a6b3a Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Tue, 8 Aug 2006 17:19:11 +0000 Subject: [PATCH] - restore dropped code which considers default_config.xml and plc_config.dtd for upgrade --- myplc.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/myplc.spec b/myplc.spec index b10441b..aa95259 100644 --- a/myplc.spec +++ b/myplc.spec @@ -129,6 +129,10 @@ if [ $1 -gt 0 ] ; then mkdir -p /plc/data/$dir.rpmsave tar -C /plc/data/$dir -cpf - . | \ tar -C /plc/data/$dir.rpmsave -xpf - + + # Except for the default configuration file and DTD, which + # really should be considered for upgrade. + rm -f /plc/data/$dir.rpmsave/{default_config.xml,plc_config.dtd} fi done fi -- 2.43.0