diff options
Diffstat (limited to 'rcynic/rcynic-cron.py')
-rw-r--r-- | rcynic/rcynic-cron.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rcynic/rcynic-cron.py b/rcynic/rcynic-cron.py index c6c32405..cadc24d6 100644 --- a/rcynic/rcynic-cron.py +++ b/rcynic/rcynic-cron.py @@ -96,11 +96,6 @@ if want_chroot: else: run(os.path.join(ac_bindir, "rcynic"), "-c", os.path.join(ac_sysconfdir, "rcynic.conf")) -if ac_rcynic_html_dir and os.path.exists(os.path.dirname(ac_rcynic_html_dir)): - run(os.path.join(ac_bindir, "rcynic-html"), - os.path.join(ac_rcynic_dir, "data/rcynic.xml"), - ac_rcynic_html_dir) - run(os.path.join(ac_bindir, "rtr-origin"), "--cronjob", os.path.join(ac_rcynic_dir, "data/authenticated"), @@ -109,3 +104,8 @@ run(os.path.join(ac_bindir, "rtr-origin"), prog = os.path.join(ac_libexecdir, "rpkigui-rcynic") if os.path.exists(prog): run(prog) + +if ac_rcynic_html_dir and os.path.exists(os.path.dirname(ac_rcynic_html_dir)): + run(os.path.join(ac_bindir, "rcynic-html"), + os.path.join(ac_rcynic_dir, "data/rcynic.xml"), + ac_rcynic_html_dir) |