self-update: clarify some error messages

This commit is contained in:
Andrew Dolgov 2012-08-23 13:22:56 +04:00
parent 366f06f7cf
commit 021f8dce0c
1 changed files with 3 additions and 3 deletions

View File

@ -272,7 +272,7 @@
_debug("Target version: $target_version");
if (version_compare(VERSION, $target_version) != -1 && !in_array("-force", $op)) {
_debug("You are on latest version. Update not needed.");
_debug("You are on a latest version. Update not needed.");
exit;
}
if (file_exists($target_dir)) {
@ -338,9 +338,9 @@
$old_dir = tmpdirname($parent_dir, "tt-rss-old");
_debug("Renaming current directory to ".basename($old_dir));
_debug("Renaming tt-rss directory to ".basename($old_dir));
if (!rename($work_dir, $old_dir)) {
_debug("Unable to rename current directory.");
_debug("Unable to rename tt-rss directory.");
exit;
}