diff options
author | Michael Spradling | 2015-11-15 01:14:04 -0500 |
---|---|---|
committer | Michael Spradling | 2015-11-15 23:40:10 -0500 |
commit | e78a364794d21740b231b157604b344e7da0953b (patch) | |
tree | 49ec458eeb1d2981ba56522994ad385d4808d80e /bareos-database-mysql.install | |
parent | ffde4bcde03eb40fe0738d47b081c26d18660362 (diff) | |
download | aur-e78a364794d21740b231b157604b344e7da0953b.tar.gz |
Add install scripts.
Processes now run as user bareos.
etc files are backup
Diffstat (limited to 'bareos-database-mysql.install')
-rw-r--r-- | bareos-database-mysql.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bareos-database-mysql.install b/bareos-database-mysql.install new file mode 100644 index 000000000000..60d95665dd58 --- /dev/null +++ b/bareos-database-mysql.install @@ -0,0 +1,20 @@ +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://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-400002.4.2${coloroff}" +} + +# arg 0: the new package version +# arg 2: the old package version +post_upgrade() { + echo -e "${yellow}NOTE: Please see documentation (section) 3.1.2 to update database${coloroff}" + echo -e "${yellow} http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-450003.1.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}" +} |