Age | Commit message (Collapse) | Author | Files | Lines |
|
These programs were moved from …/sbin/ to …/bin/ but the man pages
did not follow suit.
|
|
It is usually called in prerm's remove and deconfigure, not install.
Closes: #761025
Reported-by: jre <jre.winesim@gmail.com>
|
|
|
|
|
|
The BUGS section in u-a(8) just contains obvious instructions. The one
in deb-substvars(5) comes from dpkg-source(1), and got wrongly carried
over during the big dpkg-source(1) man page split.
|
|
|
|
|
|
Missed in commit 27e75257edb3bf98b83b421f4f5d03e8d8da9856.
|
|
|
|
This section usually contains copyright notices which can be updated quite
often and thus generate useless work for translators. Furthermore this section
was often confusing by mixing authors of the documented software and authors
of the manual page.
So instead of keeping this in the generated manual page, we move this
information where it belongs, in a file comment header above the license
information.
This commit adds the copyright & license statements to all manual pages in
comments at the top of each file. Information from the git history has been used
where there was no pre-existing copyright statements.
|
|
Any string that can be copy & pasted into control files or into a
terminal, for example, needs to correctly use minus signs (escaped
dashes), instead of the default hyphen.
|
|
Modify update-alternatives --remove-all to remove files installed in
place of links if --force is used. Add the corresponding non-regression
test.
|
|
|
|
Using <> to delimit parts of text is necessary when using plain text
output, but not when we have some formatting available around, which
is the case with the man pages, but not with the program output.
|
|
|
|
Change the status codes to bold and list them with a table to makes
it easier to visually distinguish them.
|
|
|
|
Always set DPKG_ADMINDIR from dpkg so that all subprocesses inherit
the variable and there's no possible security risk from a user process
setting the variable to write onto a user controlled area.
As usual, the order in which the admindir value is overridden is the
following: built-in default, environment variable and command line
option.
Closes: #97076
Suggested-by: Brendan O'Dea <bod@debian.org>
|
|
update-alternatives has now its independent log file, reflect that in
the man page.
|
|
|
|
Add a missing paragraph with heading tag.
Replace reference to ‘link’ with ‘name’ in --auto.
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
|
|
Introduced in commit 7277e7e87af9cf4313880f228c693aa78ad46a03.
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
|
|
This option overrides the default log file /var/log/dpkg.log.
It is needed to make the update-alternatives test-suite succeed
when run with fakeroot because without override the test-suite would
try to write to /var/log/dpkg.log and fail. Hence adjust
the test-suite accordingly.
|
|
--force
update-alternatives should not replace real files by symlinks. When
--install is called, the alternative link should either not exist
or already be a link. It that's not the case, it will simply skip
installing that link and display a warning. However if --force is given,
it will (try to) replace the file.
Ensure that behaviour within the test suite.
|
|
Since alternatives are repaired every time they are reconfigured,
the user can use --all to reconfigure them all with the current choice
and repair everything. Document this in the manual pages and ensure
that it really works that way by returning a valid choice.
Closes: #250258, #395556
|
|
The option --set-selections is the counterpart of --get-selections,
it reads configuration on standard input and reconfigures alternatives
accordingly.
|
|
The new option list all master alternatives and their status
in a format simple to parse. It's also a practical way to know
the name of all available alternatives. Closes: #273406, #392429
|
|
All slave links are optional in the sense that they are only installed
if the currently associated file does exist. This allows most
update-alternatives call to succeed even if the admin removed
documentation files or other optional files. Closes: #143701
A message is still displayed by default in this case to warn the
user that something uncommon has been detected.
Adjusted the test suite to verify this behaviour.
|
|
The vocabulary used was misleading and not really uniform. Try to
standardize and make it match with the vocabulary used in the source
code too.
Includes minor fixes to make it match the behaviour of the current
implementation.
|
|
* scripts/update-alternatives.pl: Remove the link group when
the last choice is removed, even if we are in manual mode.
* man/update-alternatives.8: Update the documentation
accordingly to not be as strong about not touching links in manual
mode.
|
|
This documentation update has been forgotten in
commit c05d262a15742c82ee489031e71bd11220b137c4.
|
|
* scripts/update-alternatives.pl: Allow --config to continue when
the currently selected alternative doesn't match the only existing
one. Useful to be able to recover from a broken configuration.
Also offer the choice in --config mode to go back the automatic
mode. Add a new --skip-auto option to combine with --all and
easily review manual and broken alternatives.
* man/update-alternatives.8: Update the documentation accordingly.
Based on a patch by Osamu Aoki <osamu@debian.org>.
|
|
|
|
* scripts/update-alternatives.pl: add a --query option that works like
--display but outputs a machine parseable rfc822-like output.
* man/update-alternatives.8: document that new option, and the
associated format.
|
|
Closes: #392432, #461247
|
|
- Unify author and copyright information formatting.
|
|
- Unify ellipsis, argument searator, and remove redundant program name
preceding the options.
|
|
- Unify title header.
|
|
|
|
|
|
|