pmdalinux: handle edge case of no /proc/softirqs file at all
[pcp.git] / debian / pcp.preinst.tail
blobc12fca6075cf58f7c6ad66462d07f7423076877a
1 # migrate and clean configs
3 if dpkg-maintscript-helper supports mv_conffile
4 then
5     _version_configs "$@"
6 else
7     # Fallback to our homebrew method (might prompt user)
8     #echo >>$PCP_LOG_DIR/install.log
9     #date >>$PCP_LOG_DIR/install.log
10     for base in pmcd pmie pmlogger pmproxy
11     do
12         _clean_configs -v $PCP_SYSCONF_DIR/$base \
13                 /var/lib/pcp/config/$base \
14                 /etc/$base /etc/pcp/$base \
15                 /etc/sysconfig/$base \
16         # 2>>$PCP_LOG_DIR/install.log
17     done