Give an example of use of wildcards with pkg_delete(1) to avoid the
problem of package version.
This commit is contained in:
parent
3e156d31c9
commit
8a0bcecea6
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=30445
1 changed files with 6 additions and 1 deletions
|
@ -559,7 +559,12 @@ docbook =
|
|||
<replaceable>xchat</replaceable> was given instead of
|
||||
<replaceable>xchat-1.7.1</replaceable>. It is, however, easy
|
||||
to use &man.pkg.version.1; to find the version of the
|
||||
installed package.</para>
|
||||
installed package. You could instead simply use a wildcard:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pkg_delete <replaceable>xchat\*</replaceable></userinput></screen>
|
||||
|
||||
<para>in this case, all packages whose names start with
|
||||
<literal>xchat</literal> will be deleted.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
|
Loading…
Reference in a new issue