blob: 98b7a11aa99363e015a7c3d13f7398ac000e06aa (
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
|
## ran.install
## Update defaults for users who have not customized
inst_sysconf() {
if ! [ -f /etc/fluxable/fluxable.conf ]; then
cp /etc/fluxable/fluxable.conf.org /etc/fluxable/fluxable.conf
fi
}
## Tell the user what's going on and what to expect.
post_inst_msg() {
echo "If you ever trash your ~/.fluxable/fluxable.conf file
a sample configuration file has been installed for you
to /etc/fluxable with a .org extension."
echo
echo "To use ran open a terminal or tty console, type ran, or ran some-filename,
and recording will start. The file's extension will be added by ran.
Control cstops the recording. Recordings live in ~/Audio/au_notes.
To see a help message type ran -h, or
man ran for more detailed information."
}
post_install() {
inst_sysconf
post_inst_msg
}
post_upgrade() {
inst_sysconf
post_inst_msg
}
|