mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Clarify message.
This commit is contained in:
parent
102afce83c
commit
792f36f116
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ public class UpdateKobalt @Inject constructor(val github: GithubApi, val wrapper
|
||||||
val distFile = File(KFiles.joinDir(KFiles.distributionsDir, latestVersionString))
|
val distFile = File(KFiles.joinDir(KFiles.distributionsDir, latestVersionString))
|
||||||
if (latestVersion > current) {
|
if (latestVersion > current) {
|
||||||
if (distFile.exists()) {
|
if (distFile.exists()) {
|
||||||
log(1, "**** Version $latestVersionString is installed")
|
log(1, "**** Version $latestVersionString is installed, you can switch to it with " +
|
||||||
|
"./kobaltw --update")
|
||||||
} else {
|
} else {
|
||||||
listOf("", "New Kobalt version available: $latestVersionString",
|
listOf("", "New Kobalt version available: $latestVersionString",
|
||||||
"To update, run ./kobaltw --update", "").forEach {
|
"To update, run ./kobaltw --update", "").forEach {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue