Commit 413f1e3b authored by Martin Klimeš's avatar Martin Klimeš
Browse files

cron: fix cron installation

parent d23e2a99
......@@ -14,12 +14,13 @@ if (-d "/opt/fi-printers") {
my $output = `git clone /opt/fi-printers`;
chdir "/opt/fi-printers";
# copy into weekly cron
copy("/opt/fi-printers/", "/etc/cron.weekly/fi_printers_cron");
my @files = glob( '/etc/cups/ppd/*fi.muni.ppd' );
my @files = glob('/etc/cups/ppd/*fi.muni.ppd');
for my $item (@files) {
print "current $item\n";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment