mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-15 10:12:44 +00:00
This compiles the files from /usr/lib/systemd/catalog into a binary database, which is used by journalctl to provide additional information for log entries. journalctl only uses the binary database in /var/lib/systemd/catalog/database. Call journalctl --update-catalog in systemd.postinst and when triggered by dpkg to update the Message Catalog database. Also add systemd.postrm to remove the database on purge. See http://www.freedesktop.org/wiki/Software/systemd/catalog/
13 lines
203 B
Bash
13 lines
203 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
purge)
|
|
rm -f /var/lib/systemd/catalog/database
|
|
rmdir --ignore-fail-on-non-empty /var/lib/systemd/catalog 2> /dev/null || true
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|