Updated wiki page for mp
This commit is contained in:
@ -84,8 +84,8 @@ it's set.
|
||||
`MP_NORET` is another option that you can set. By default `mp` will print the return status for each
|
||||
command, you can disable this by setting `MP_NORET` to whatever you want.
|
||||
|
||||
The last one of these options is the `MP_QGREP` option. This option is only useful if you are using
|
||||
the query command. If set, `mp` will print grep-able output for this command. Again, you can set it
|
||||
The last one of these options is the `MP_GREP` option. This option is only useful if you are using
|
||||
the query or the list command. If set, `mp` will print grep-able output for these commands. Again, you can set it
|
||||
to whatever you want.
|
||||
|
||||
### Syncing Repos
|
||||
@ -190,6 +190,15 @@ After running this command, `mp` will:
|
||||
1. Check all the repos for the `which` package
|
||||
2. Fetch information about the package from the `$MP_ROOT/var/lib/mp/repos/REPO_NAME` and `$MP_ROOT/var/lib/mp/db`.
|
||||
|
||||
### List packages
|
||||
You can list all the installed packages with the `mp-list` command.
|
||||
|
||||
After running this command, `mp` will:
|
||||
|
||||
1. Load the database (`$MP_ROOT/var/lib/mp/db`)
|
||||
2. Loop over all the entries and print the package names and the versions
|
||||
|
||||
|
||||
# Other Package Managers
|
||||
It's a really bad idea to use multiple package managers as they may conflict and may result in an
|
||||
unstable system. However package managers such as flatpak and snap offer containerized packages,
|
||||
|
Reference in New Issue
Block a user