-
Notifications
You must be signed in to change notification settings - Fork 25
/
pacmatic.1
74 lines (73 loc) · 1.93 KB
/
pacmatic.1
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.\" man 7 groff_mdoc Best resource ever
.Dd February 18, 2012
.Dt PACMATIC \&1 "Pacmatic Manual"
.Os " "
.Sh NAME
.Nm pacmatic
.Nd PACMATIC performs a bunch of mundane tasks that you must do before every invocation of Pacman. If you ever once forget any, you'll probably break your installation. So let's have the computer remind us. However,
.Nm
will not think for you. It can not protect your system. It merely collects and presents information so that you can make an informed choice.
.Sh SYNOPSIS
.Nm pacmatic -[the same options as pacman] [the same arguments as pacman]
.Nm pacmatic --as-lib
.Sh DESCRIPTION
.Nm
wraps pacman. All arguments and options are passed directly through to pacman. What
.Nm
adds to pacman is several pre and post operation checks. Features include reading the archlinux.org news, avoiding -Sy, dealing with pacnew files, reading a mailing list, free space, and logging pacman's exit status.
.Pp
.Nm
can be configured by setting environment variables. Run
.Nm
without any arguments or options to see the variables and values.
.Pp
To source
.Nm
in your own script, use the
.Nm \--as-lib
flag.
.Pp
.
.Sh ENV VARS
These are optional.
.Pp
.Bl -tag -width ".." -compact
.It Cm warn_time
Seconds between -Sy and -Su
.Pp
.It Cm rss_feed
The new feed to check before updates.
.Pp
.It Cm log_file
Where the RSS news history is cached.
.Pp
.It Cm pacdiff_program
The utility used for merging diffs.
.Pp
.It Cm pacman_program
Command to launch pacman.
.Pp
.It Cm mail_list
A URL to a flat textfile. (Interpreted to generate year-month.)
.Pp
.It Cm pacman_log
The log file to inspect.
.Pp
.Sh WRAPPERS
In case you want even higher levels of automation, there is a
.Nm cron-pacmatic
script. This script can be run periodically and will email you a summary of
.Nm
output.
.Pp
.Sh AUTHORS
.An -nosplit
.Pp
.Nm
was written by
.An Kyle Keen Aq keenerd@gmail.com
with bits of code from
.An Christophe-Marie Duquesne,
.An Falconindy
and
.An Brisbin.