summaryrefslogtreecommitdiff
path: root/bareos/bareos-database-mysql.install
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-25 15:40:41 +0100
committerErich Eckner <git@eckner.net>2019-02-25 15:40:41 +0100
commitcbc416a25d57f5541531186b402d8df9400de179 (patch)
treea6233243e6a912b72bcbb085e3cced26aaefb404 /bareos/bareos-database-mysql.install
parent8949a82c8aa34b44a06fef23f3cc1f3f5c6010d6 (diff)
downloadarchlinuxewe-cbc416a25d57f5541531186b402d8df9400de179.tar.xz
bareos new
Diffstat (limited to 'bareos/bareos-database-mysql.install')
-rw-r--r--bareos/bareos-database-mysql.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/bareos/bareos-database-mysql.install b/bareos/bareos-database-mysql.install
new file mode 100644
index 000000000..dcfdf0406
--- /dev/null
+++ b/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}"
+}