diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-03-31 11:36:18 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-03-31 11:36:18 +0200 |
commit | c82bf60061358633368a2bda7792687b7789c8a4 (patch) | |
tree | ee44474eb53fe7efbd8a3190d2d15719df412480 /archlinuxaba/bareos/bareos-database-mysql.install | |
parent | fa86535964bc8361b2c7c8c438cb7a3e28cb5a57 (diff) | |
download | arch-c82bf60061358633368a2bda7792687b7789c8a4.tar.gz arch-c82bf60061358633368a2bda7792687b7789c8a4.tar.bz2 |
archlinuxaba: added bareos
Diffstat (limited to 'archlinuxaba/bareos/bareos-database-mysql.install')
-rw-r--r-- | archlinuxaba/bareos/bareos-database-mysql.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/archlinuxaba/bareos/bareos-database-mysql.install b/archlinuxaba/bareos/bareos-database-mysql.install new file mode 100644 index 0000000..dcfdf04 --- /dev/null +++ b/archlinuxaba/bareos/bareos-database-mysql.install @@ -0,0 +1,24 @@ +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}" + 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) 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}" + 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}" +} |