summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-03-02 17:35:17 +0000
committerDaouda Lo <daouda@mandriva.com>2004-03-02 17:35:17 +0000
commit80372769a70ffa8af19305c7fdef7c2a06bf122a (patch)
treecf8ae6193c5e942177f8acef5b5678d6b5c7eb28
parentfb53f7570750875cb4cacc8e0134fd45e68a0dd9 (diff)
downloadmgaonline-80372769a70ffa8af19305c7fdef7c2a06bf122a.tar
mgaonline-80372769a70ffa8af19305c7fdef7c2a06bf122a.tar.gz
mgaonline-80372769a70ffa8af19305c7fdef7c2a06bf122a.tar.bz2
mgaonline-80372769a70ffa8af19305c7fdef7c2a06bf122a.tar.xz
mgaonline-80372769a70ffa8af19305c7fdef7c2a06bf122a.zip
- date of LASTCHECK
-rwxr-xr-xmdkonline3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdkonline b/mdkonline
index dc3f242f..0700294e 100755
--- a/mdkonline
+++ b/mdkonline
@@ -399,10 +399,13 @@ chmod 0755, "/etc/cron.daily/mdkupdate";
}
sub writeWideConf {
my ($login, $boxname, $country) = @_;
+ my $d = localtime();
+ $d =~ s/\s+/_/
output_with_perm $wideconf, 644,
qq(LOGIN=$login
MACHINE=$boxname
COUNTRY=$country
+LASTCHECK=$d
);
}