SummaryRefsLogTreeCommitDiffStats
path: root/src/cron.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/cron.in')
-rw-r--r--src/cron.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cron.in b/src/cron.in
index 97d49b4..25ad273 100644
--- a/src/cron.in
+++ b/src/cron.in
@@ -2,7 +2,9 @@
-*- scheme -*-
!#
-(set! %load-path (cons "%modsrcdir%" %load-path))
-(set! %load-compiled-path (cons "%modbuilddir%" %load-compiled-path))
-(use-modules (mcron scripts cron))
+(unless (getenv "MCRON_UNINSTALLED")
+ (set! %load-path (cons "%modsrcdir%" %load-path))
+ (set! %load-compiled-path (cons "%modbuilddir%" %load-compiled-path)))
+
+(use-modules (mcron scripts cron))
(main)