]> git.wh0rd.org Git - tt-rss.git/commitdiff
self-update: clarify some error messages
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 23 Aug 2012 09:22:56 +0000 (13:22 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 23 Aug 2012 09:22:56 +0000 (13:22 +0400)
update.php

index 01ce6df81a590e385e138c29f60a34b08eac16be..8bcfd179de2706f761e2200c6458fa7c131fc785 100755 (executable)
                _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 latest version. Update not needed.");
                        exit;
                }
                if (file_exists($target_dir)) {
 
                $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;
                }