Changed a bit the output text
This commit is contained in:
parent
0e2a6a9f01
commit
f98841cb4e
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue