xbps-remove.8: explain how to show the pkg remove script.
This commit is contained in:
parent
77b41d7696
commit
2e45e7c5f7
@ -1,4 +1,4 @@
|
|||||||
.Dd October 12, 2013
|
.Dd December 17, 2013
|
||||||
.Os Void Linux
|
.Os Void Linux
|
||||||
.Dt xbps-remove 8
|
.Dt xbps-remove 8
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -12,14 +12,16 @@
|
|||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
utility removes installed packages in the target root directory.
|
utility removes installed packages in the target root directory.
|
||||||
Removing a package involves some steps:
|
Removing a package involves the following steps:
|
||||||
.Pp
|
.Pp
|
||||||
.Sy *
|
.Sy *
|
||||||
Executes the
|
Executes the
|
||||||
.Sy pre-remove
|
.Sy pre
|
||||||
action on its
|
ACTION on its
|
||||||
.Sy REMOVE
|
.Sy REMOVE
|
||||||
script.
|
script (which can be shown by running
|
||||||
|
.Sy `xbps-query --property=remove-script pkg`
|
||||||
|
).
|
||||||
.Pp
|
.Pp
|
||||||
.Sy *
|
.Sy *
|
||||||
Package files are removed if those have not been modified.
|
Package files are removed if those have not been modified.
|
||||||
@ -29,21 +31,26 @@ option overrides this behaviour and forcefully removes the files.
|
|||||||
.Pp
|
.Pp
|
||||||
.Sy *
|
.Sy *
|
||||||
Executes the
|
Executes the
|
||||||
.Sy post-remove
|
.Sy post
|
||||||
action on its
|
ACTION on its
|
||||||
.Sy REMOVE
|
.Sy REMOVE
|
||||||
script.
|
script (which can be shown by running
|
||||||
|
.Sy `xbps-query --property=remove-script pkg`
|
||||||
|
).
|
||||||
.Pp
|
.Pp
|
||||||
.Sy *
|
.Sy *
|
||||||
Changes package state to
|
Changes package state to
|
||||||
.Sy XBPS_PKG_STATE_HALF_REMOVED .
|
.Sy XBPS_PKG_STATE_HALF_REMOVED
|
||||||
|
in the package database.
|
||||||
.Pp
|
.Pp
|
||||||
.Sy *
|
.Sy *
|
||||||
Executes the
|
Executes the
|
||||||
.Sy purge
|
.Sy purge
|
||||||
action on its
|
ACTION on its
|
||||||
.Sy REMOVE
|
.Sy REMOVE
|
||||||
script.
|
script (which can be shown by running
|
||||||
|
.Sy `xbps-query --property=remove-script pkg`
|
||||||
|
).
|
||||||
.Pp
|
.Pp
|
||||||
.Sy *
|
.Sy *
|
||||||
Package metadata file is removed.
|
Package metadata file is removed.
|
||||||
|
Loading…
Reference in New Issue
Block a user