From: Mark Huang Date: Tue, 8 Aug 2006 17:19:11 +0000 (+0000) Subject: - restore dropped code which considers default_config.xml and X-Git-Tag: planetlab-4_0-rc1~120 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d2fb9fee28f197d17fbb078f864ffa96909a6b3a;hp=e0d5734740409facbcd66f31a218897d4fe979dc;p=myplc.git - restore dropped code which considers default_config.xml and plc_config.dtd for upgrade --- 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