summarylogtreecommitdiffstats
path: root/mandb-ondemand.install
diff options
context:
space:
mode:
authorgraysky2016-07-11 20:44:26 -0400
committergraysky2016-07-11 20:44:26 -0400
commit004fe1c21cf1575cc03b54396329ee124cf11b63 (patch)
tree77b4028b590cc012db06c8ad01c3d9b6b7661899 /mandb-ondemand.install
downloadaur-004fe1c21cf1575cc03b54396329ee124cf11b63.tar.gz
initial commit
Diffstat (limited to 'mandb-ondemand.install')
-rw-r--r--mandb-ondemand.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/mandb-ondemand.install b/mandb-ondemand.install
new file mode 100644
index 000000000000..de902fe24ad0
--- /dev/null
+++ b/mandb-ondemand.install
@@ -0,0 +1,9 @@
+post_install() {
+ if [ ! -f /var/cache/man/index.db ]; then
+ echo "it's recommended to create an initial"
+ echo "database running as root:"
+ echo "\"/usr/bin/mandb --quiet\""
+ else
+ true
+ fi
+}