Loading install.pl +5 −2 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ GetOptions($options, qw(update cron help|h|?)) or usage(); if ($options->{usage} || (@ARGV != 1 && !$options->{cron})) { usage(); usage(0); } check_env(); Loading Loading @@ -235,6 +235,9 @@ sub print_printers { } sub usage { my ($exit_status) = @_; $exit_status //= 1; print <<END; Script for installing faculty printers on Linux via Samba print server. usage: $0 {--cron | [--update] <printer-name>} Loading @@ -248,7 +251,7 @@ END print_printers(); exit 1; exit $exit_status; } sub check_python { Loading Loading
install.pl +5 −2 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ GetOptions($options, qw(update cron help|h|?)) or usage(); if ($options->{usage} || (@ARGV != 1 && !$options->{cron})) { usage(); usage(0); } check_env(); Loading Loading @@ -235,6 +235,9 @@ sub print_printers { } sub usage { my ($exit_status) = @_; $exit_status //= 1; print <<END; Script for installing faculty printers on Linux via Samba print server. usage: $0 {--cron | [--update] <printer-name>} Loading @@ -248,7 +251,7 @@ END print_printers(); exit 1; exit $exit_status; } sub check_python { Loading