Package: borgmatic
Version: 2.0.11-1
Severity: serious
hi maintainer,
while running borgmatic config generate in postinst is a good idea, its
a bad idea if the config depends on something (like CREDENTIALS_DIRECTORY/
systemd-creds) or other external tools that are not available at update
time. Or it just fails due to errors in the config.
This part should NEVER fail during a package update!
if [ "$1" = "configure" ]; then
if [ -d /etc/borgmatic ]; then
for i in /etc/borgmatic/*.yaml; do
borgmatic config generate --source "$i" --destination
"${i}.dpkg-dist"
done
fi
fi
Thanks,
Bernd
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F