From 2b2b4b48ec9556eaff3ff128158bb2a7b7a7ac14 Mon Sep 17 00:00:00 2001 From: "Martin Klimes (k11m1)" <xklimes5@dares.fi.muni.cz> Date: Thu, 18 Feb 2021 17:19:10 +0100 Subject: [PATCH] better ppd detection --- cron.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.pl b/cron.pl index 8ad3a7d..7fda039 100755 --- a/cron.pl +++ b/cron.pl @@ -19,7 +19,7 @@ else # copy cron.pl into weekly cron copy("/opt/fi-printers/cron.pl", "/etc/cron.weekly/fi_printers_cron"); -my @files = glob( '/etc/cups/ppd/*.ppd' ); +my @files = glob( '/etc/cups/ppd/*fi.muni.ppd' ); for my $item (@files) { print "current $item\n"; -- GitLab