Changed a bit the output text

This commit is contained in:
pezcurrel 2022-09-08 14:48:55 +02:00
parent 0e2a6a9f01
commit f98841cb4e

View file

@ -18,7 +18,7 @@
const N="\n";
const SNAME='xstoxfces';
const SVERS='0.1';
const SVERS='0.1.1';
$opts=[
'xscreensaver_user_conf_file'=>null,
@ -269,11 +269,11 @@ TryExec='.$opts['xscreensaver_exec_dir'].'/'.$xml['name'].'
Exec='.$opts['xscreensaver_exec_dir'].'/'.$cmd.'
Categories=Screensaver;
Hidden=true'.N;
echo('Added «'.$xml['name'].'»'.N);
echo('Adding «'.$xml['name'].'»'.N);
if (@file_put_contents($ofp,$cont)===false)
fwrite(STDERR,'Warning: could not write into «'.$ofp.'».'.N);
} else {
echo('Ignored «'.$xml['name'].'»'.N);
echo('Ignoring «'.$xml['name'].'»'.N);
}
} else {
fwrite(STDERR,'Warning: «'.$fp.'» does not contain one or more required info.'.N);