mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
Changed upgrade message to use the term "installation" to make the meaning more
clear
This commit is contained in:
parent
5a48e4f1b6
commit
6ca24d5924
@ -116,6 +116,7 @@ static int sync_cleancache(int level)
|
|||||||
if(split_pkgname(s, n, v) != 0) {
|
if(split_pkgname(s, n, v) != 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
/* TODO Do not remove the currently installed version EITHER */
|
||||||
if(!strcmp(name, n)) {
|
if(!strcmp(name, n)) {
|
||||||
char *ptr = (alpm_pkg_vercmp(version, v) < 0) ? str : s;
|
char *ptr = (alpm_pkg_vercmp(version, v) < 0) ? str : s;
|
||||||
if(!list_is_strin(ptr, clean)) {
|
if(!list_is_strin(ptr, clean)) {
|
||||||
@ -656,7 +657,7 @@ int pacman_sync(list_t *targets)
|
|||||||
confirm = 1;
|
confirm = 1;
|
||||||
} else {
|
} else {
|
||||||
MSG(NL, "\n");
|
MSG(NL, "\n");
|
||||||
confirm = yesno(_("Proceed with upgrade? [Y/n] "));
|
confirm = yesno(_("Proceed with installation? [Y/n] "));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user