From 56f955aca6231693fe797de4793f77ed58ab116e Mon Sep 17 00:00:00 2001 From: Bruno Cichon Date: Mon, 1 Oct 2018 01:51:03 +0200 Subject: Add some base packages for ppc64le --- libre-testing/man-db/man-db.install | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libre-testing/man-db/man-db.install (limited to 'libre-testing/man-db/man-db.install') diff --git a/libre-testing/man-db/man-db.install b/libre-testing/man-db/man-db.install new file mode 100644 index 000000000..8db2147a8 --- /dev/null +++ b/libre-testing/man-db/man-db.install @@ -0,0 +1,11 @@ +post_upgrade() { + # force database rebuild as recommended per upstream + if [ "`vercmp $2 2.7.0`" -lt 0 ]; then + echo "(re)building database..." + mandb -c --quiet + fi +} + +post_remove() { + rm -rf /var/cache/man +} -- cgit v1.2.3