xbps-repo(8): the search target now shows which pkgs are currently installed.
This commit is contained in:
parent
f92ce60462
commit
eb75041b25
3
NEWS
3
NEWS
@ -1,5 +1,8 @@
|
|||||||
xbps-0.16.6 (???):
|
xbps-0.16.6 (???):
|
||||||
|
|
||||||
|
* xbps-repo(8): the 'search' target now shows which packages are currently
|
||||||
|
installed through the '*' character as prefix in the results.
|
||||||
|
|
||||||
* xbps-repo(8): a new target has been added: 'remove-obsoletes'. This removes
|
* xbps-repo(8): a new target has been added: 'remove-obsoletes'. This removes
|
||||||
obsolete packages found in a local repository; obsoletes are packages not
|
obsolete packages found in a local repository; obsoletes are packages not
|
||||||
registered in repository's index.
|
registered in repository's index.
|
||||||
|
@ -128,7 +128,11 @@ show_pkg_namedesc(struct xbps_handle *xhp,
|
|||||||
tmp[x] = ' ';
|
tmp[x] = ' ';
|
||||||
|
|
||||||
tmp[x] = '\0';
|
tmp[x] = '\0';
|
||||||
printf(" %s %s\n", tmp, desc);
|
if (xbps_pkgdb_get_pkgd_by_pkgver(xhp, pkgver))
|
||||||
|
printf(" * ");
|
||||||
|
else
|
||||||
|
printf(" ");
|
||||||
|
printf("%s %s\n", tmp, desc);
|
||||||
free(tmp);
|
free(tmp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.Dd July 22, 2012
|
.Dd July 31, 2012
|
||||||
.Os Void GNU/Linux
|
.Os Void GNU/Linux
|
||||||
.Dt xbps-repo 8
|
.Dt xbps-repo 8
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -90,7 +90,10 @@ in its
|
|||||||
or
|
or
|
||||||
.Em description
|
.Em description
|
||||||
values in repository pool. Please note that patterns are matched in case
|
values in repository pool. Please note that patterns are matched in case
|
||||||
insensitive mode. Multiple patterns can be specified as arguments.
|
insensitive mode. Multiple patterns can be specified as arguments. Packages that
|
||||||
|
have the
|
||||||
|
.Sy *
|
||||||
|
character as prefix are currently installed.
|
||||||
.It Sy remove-obsoletes Ar /path/to/local/repository
|
.It Sy remove-obsoletes Ar /path/to/local/repository
|
||||||
Removes obsolete packages from
|
Removes obsolete packages from
|
||||||
.Ar repository .
|
.Ar repository .
|
||||||
|
Loading…
Reference in New Issue
Block a user