summarylogtreecommitdiffstats
path: root/bareos-database-mysql.install
blob: 9cebd5f8b7a2014dd6757f6b9e8d049584152319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
yellow='\e[0;33m'
coloroff='\e[0m'

# arg 0:  the new package version
post_install() {
   echo -e "${yellow}NOTE: Please see documentation (section 2.4.2) to setup database:${coloroff}"
   echo -e "${yellow}      http://download.bareos.org/bareos/release/17.2/documentation/html/bareos-manual-main-reference.html#QQ2-1-47${coloroff}"

}

# arg 0:  the new package version
# arg 2:  the old package version
post_upgrade() {
   echo -e "${yellow}NOTE: Please see documentation (section) 4.2.2 to update database${coloroff}"
   echo -e "${yellow}      http://download.bareos.org/bareos/release/17.2/documentation/html/bareos-manual-main-reference.html#x1-710004.2.2${coloroff}"
}

# arg 0:  the old package version
post_remove() {
   echo -e "${yellow}NOTE: To remove all traces of bareos please delete the bareos database.${coloroff}"
}