cronjob no longer checks /etc/sysconfig/ghc-doc-indexepel9
parent
9cab3ce294
commit
71c562fdd5
@ -1,13 +1,9 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
# updates the library documentation index after updates
|
||||||
|
|
||||||
if [ -e /etc/sysconfig/ghc-doc-index ]; then
|
# This can be disabled by uninstalling ghc-doc-index
|
||||||
. /etc/sysconfig/ghc-doc-index
|
# or adding ghc-doc-index to "./jobs-deny".
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$CRON" = "no" ]; then
|
/usr/bin/ghc-doc-index
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
/usr/bin/ghc-doc-index >/dev/null
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in new issue