ghc/ghc-doc-index.cron
Jens Petersen f6ebb90def revert rpm-state and bring back ghc-doc-index cronjob in ghc-doc-index subpackage
- add new ghc-doc-index script
- forward port ghc-7.4-silence-gen_contents_index.patch
- remove /var/lib/rpm-state/ghc/
2012-11-16 16:57:46 +09:00

14 lines
182 B
Bash
Executable File

#! /bin/bash
if [ -e /etc/sysconfig/ghc-doc-index ]; then
. /etc/sysconfig/ghc-doc-index
fi
if [ "$CRON" = "no" ]; then
exit 0
fi
/usr/bin/ghc-doc-index >/dev/null
exit 0