blob: d73e4e18d85da0296bdd85cdc4db59e224ed15d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
.\" -*- mode: troff; coding: utf-8 -*-
.TH UPDATECONF 8
.SH NAME
updateconf \- interactive .new configuration file merge tool
.SH DESCRIPTION
.LP
\fBupdateconf\fR is an interactive tool for handling \fI.new\fR configuration
files. When packages are upgraded, new default configuration files are installed
with a \fI.new\fR suffix to avoid overwriting locally modified files.
\fBupdateconf\fR helps merge, discard, or keep these files.
.SH USAGE
.LP
\f(CRupdateconf\fR
.PP
Must be run as root. The script scans \fI/etc\fR for files ending in \fI.new\fR
and presents each one interactively.
.SH INTERACTIVE PROMPT
.LP
For each \fI.new\fR file, a unified diff between the current and new version is
shown, and the user is prompted:
.TP
\fBU\fR
Update: replace the current file with the new one.
.TP
\fBD\fR
Discard: delete the \fI.new\fR file, keeping the current version.
.TP
\fBE\fR
Edit: open the current file in the editor (\fB$EDITOR\fR, defaults to \fIvi\fR).
.TP
\fBK\fR
Keep: keep both files, no changes.
.SH ENVIRONMENT
.TP
\fBEDITOR\fR
Editor to use (default: \fIvi\fR).
.SH EXAMPLES
.LP
\f(CRupdateconf\fR - Run the interactive config file updater.
.SH AUTHORS
.LP
emmett1 \c
.MT me@emmett1.my
.ME
.SH REPORTING BUGS
.LP
Please report bugs and issues in the project issue tracker: \c
.UR https://codeberg.org/emmett1/autils/issues
.UE
|