From 021f8dce0cba1fbdde0ecf764efb5cea0ce4e63c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 23 Aug 2012 13:22:56 +0400 Subject: [PATCH] self-update: clarify some error messages --- update.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update.php b/update.php index 01ce6df81..8bcfd179d 100755 --- a/update.php +++ b/update.php @@ -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; }