mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-06 20:51:01 +02:00
self-update: clarify some error messages
This commit is contained in:
parent
366f06f7cf
commit
021f8dce0c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user