blob: 445751cbdcc249792960e3b37201cdea4e3a8404 (
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
|
# Colors
#note() {
# printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
#}
note() {
printf "${BLUE}==>${ALL_OFF}${BOLD} NOTE:${ALL_OFF} ${1}\n"
}
ALL_OFF="$(tput sgr0)"
BOLD="$(tput bold)"
BLUE="${BOLD}$(tput setaf 4)"
GREEN="${BOLD}$(tput setaf 2)"
post_install() {
mkdir /var/lib/nfsen && chmod 775 /var/lib/nfsen
note 'To complete the installation, run:'
note ' cd /usr/share/webapps/nfsen'
note ' su -c "./install.pl /etc/nfsen/nfsen.conf"'
note ''
note 'For more information on installation and configuration, see:'
note ' /usr/share/doc/nfsen/README.pkg and others'
note ''
}
post_upgrade() {
note ''
note 'To complete the update, run:'
note ' cd /usr/share/webapps/nfsen'
note ' su -c "./install.pl /etc/nfsen/nfsen.conf"'
note ''
note 'For more information on installation and configuration, see:'
note ' /usr/share/doc/nfsen/README.pkg and others'
note ''
}
|