[hylafaxplus] Exclude etc/xferfaxlog from package
HylaFAX+ keeps call record in etc/xferfaxlog
(relative to /var/spool/hylafaxplus
). But because this file is owned by the package, all logs are lost upon upgrade!
Because xferfaxlog
is kind of a logfile, I think it should be handled (if at all) in an .install script or a .trigger. For instance, current behavior (creation of an empty xferfaxlog
) can be achieved with
xflog="/var/spool/hylafaxplus/etc/xferfaxlog"
if [[ ! -f "$xflog" ]]; then
touch "$xflog"
chmod 0644 "$xflog"
chown uucp:uucp "$xflog"
fi
Upon removal of hylafaxplus
, I think xfefaxlog
should stay because it may contain useful call records...