Commit 2b2b4b48 authored by Martin Klimes (k11m1)'s avatar Martin Klimes (k11m1)
Browse files

better ppd detection

parent cf99d8e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -19,7 +19,7 @@ else
# copy cron.pl into weekly cron
# copy cron.pl into weekly cron
copy("/opt/fi-printers/cron.pl", "/etc/cron.weekly/fi_printers_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) {
for my $item (@files) {
	print "current $item\n";
	print "current $item\n";