summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-08-23 13:22:56 +0400
committerAndrew Dolgov <[email protected]>2012-08-23 13:22:56 +0400
commit021f8dce0cba1fbdde0ecf764efb5cea0ce4e63c (patch)
tree362afdc373a31ceccafd7f56f6e0d48abc7cb282 /update.php
parent366f06f7cfc37895089ee53c41e79bc48802820e (diff)
self-update: clarify some error messages
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php6
1 files 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;
}