From 2afb6c065d69d5b3fe00d64930b121434a48da6a Mon Sep 17 00:00:00 2001
From: Patrick Ditzel <patrick@central-computer.de>
Date: Fri, 15 Dec 2017 21:04:20 +0000
Subject: [PATCH] Moved databasefunction into database specific modules and also the configuration. Still work in progress. Installer does noct work yet

---
 dbb-modules/postgresql |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dbb-modules/postgresql b/dbb-modules/postgresql
index e418c56..5202d87 100644
--- a/dbb-modules/postgresql
+++ b/dbb-modules/postgresql
@@ -2,7 +2,7 @@
 
 # dependencies
 
-function check_postgresql_deps {
+function check-postgresql-deps {
 	if [ ! -e /usr/bin/psql ]; then
 		debug "It seems that you dont have psql installed. You may have problems to backup remote databases" 
 	fi
@@ -128,11 +128,12 @@
 	echo ""
 }
 
-function postgres_main {
+function postgresql-main {
 	if [ "$POSTGRES_BACKUP_LOCAL" = "TRUE" ]; then
 		run_local_pg_backups
 	fi
 	if [ "$POSTGRES_BACKUP_REMOTE" = "TRUE" ]; then
 		run_remote_pg_backups
 	fi
-}
\ No newline at end of file
+}
+

--
Gitblit v1.10.0