3 # Use the supported conffile move method (no prompts)
6 local NPMCD=/etc/pcp/pmcd
8 local PMCD2=/var/lib/pcp/config/pmcd
9 for FILE in pmcd.conf pmcd.options rc.local; do
10 dpkg-maintscript-helper mv_conffile $PMCD2/$FILE $NPMCD/$FILE 3.7.0~ pcp -- "$@"
11 dpkg-maintscript-helper mv_conffile $PMCD1/$FILE $NPMCD/$FILE 3.6.1~ pcp -- "$@"
14 local NPMIE=/etc/pcp/pmie
16 local PMIE2=/var/lib/pcp/config/pmie
17 for FILE in control; do
18 dpkg-maintscript-helper mv_conffile $PMIE2/$FILE $NPMIE/$FILE 3.7.0~ pcp -- "$@"
19 dpkg-maintscript-helper mv_conffile $PMIE1/$FILE $NPMIE/$FILE 3.6.1~ pcp -- "$@"
22 local NPMPROXY=/etc/pcp/pmproxy
23 local PMPROXY1=/etc/pmproxy
24 local PMPROXY2=/var/lib/pcp/config/pmproxy
25 for FILE in pmproxy.options; do
26 dpkg-maintscript-helper mv_conffile $PMPROXY2/$FILE $NPMPROXY/$FILE 3.7.0~ pcp -- "$@"
27 dpkg-maintscript-helper mv_conffile $PMPROXY1/$FILE $NPMPROXY/$FILE 3.6.1~ pcp -- "$@"
30 local NPMLOGGER=/etc/pcp/pmlogger
31 local PMLOGGER1=/etc/pmlogger
32 local PMLOGGER2=/var/lib/pcp/config/pmlogger
33 for FILE in control; do
34 dpkg-maintscript-helper mv_conffile $PMLOGGER2/control $NPMLOGGER/control 3.7.0~ pcp -- "$@"
35 dpkg-maintscript-helper mv_conffile $PMLOGGER1/control $NPMLOGGER/control 3.6.1~ pcp -- "$@"