- restore dropped code which considers default_config.xml and
authorMark Huang <mlhuang@cs.princeton.edu>
Tue, 8 Aug 2006 17:19:11 +0000 (17:19 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Tue, 8 Aug 2006 17:19:11 +0000 (17:19 +0000)
  plc_config.dtd for upgrade

myplc.spec

index b10441b..aa95259 100644 (file)
@@ -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