050checkinst: Actually include config.sh
authorFrank Lichtenheld <frank@lichtenheld.de>
Wed, 17 Oct 2007 22:34:59 +0000 (00:34 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Wed, 17 Oct 2007 22:34:59 +0000 (00:34 +0200)
Otherwise trying to send email to $admin_email which
is defined there proves to be difficult.

cron.d/050checkinst

index 7a5b6c6d1b0c08fe4cf0e282d45fb6a60cef8037..9dc6689d5db49af1cbb84539a87cea34c2de86e7 100755 (executable)
@@ -1,5 +1,7 @@
 #! /bin/sh
 
+. `dirname $0`/../config.sh
+
 # Test whether all required packages are installed and generate a mail
 # if they aren't, so that the admin is informed.