Commit 5b7baf25 authored by Tomáš Szaniszlo's avatar Tomáš Szaniszlo Committed by Tomáš Szaniszlo
Browse files

install: a bit more consistency for the messages

parent cfd7db05
......@@ -194,7 +194,7 @@ sub update_ppd {
system($command);
if ($? != 0) {
die "[ERROR] Could not update the ppd via lpadmin";
die "[ERROR] Could not update the PPD via lpadmin";
}
return;
......@@ -301,12 +301,12 @@ sub check_cron {
chomp(my $answer = <STDIN>);
if ($answer eq 'Y' || $answer eq 'y' || $answer eq '') {
print "[INFO] Installing cron.\n";
say "[INFO] Installing cron...";
copy("$RealBin/cron.pl", "/etc/cron.weekly/fi_printers_cron")
or die "[ERROR] Could not copy cron script\n";
chmod 0700, "/etc/cron.weekly/fi_printers_cron";
say "[INFO] Cron installed";
say "[INFO] Cron installed.";
}
} else {
say "[INFO] Cron is already installed.";
......
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