# migrate and clean configs

if dpkg-maintscript-helper supports mv_conffile
then
    _version_configs "$@"
else
    # Fallback to our homebrew method (might prompt user)
    #echo >>$PCP_LOG_DIR/install.log
    #date >>$PCP_LOG_DIR/install.log
    for base in pmcd pmie pmlogger pmproxy
    do
	_clean_configs -v $PCP_SYSCONF_DIR/$base \
		/var/lib/pcp/config/$base \
		/etc/$base /etc/pcp/$base \
		/etc/sysconfig/$base \
	# 2>>$PCP_LOG_DIR/install.log
    done
fi
