diff options
Diffstat (limited to 'mandb-ondemand.install')
-rw-r--r-- | mandb-ondemand.install | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mandb-ondemand.install b/mandb-ondemand.install index de902fe24ad0..d2d306d1a621 100644 --- a/mandb-ondemand.install +++ b/mandb-ondemand.install @@ -1,9 +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 + systemctl start mandb-ondemand.path + systemctl start mandb-ondemand-purge.path +} + +pre_remove() { + systemctl stop mandb-ondemand.path + systemctl stop mandb-ondemand-purge.path } |