aboutsummaryrefslogtreecommitdiff
path: root/debian/db/install/pgsql
diff options
context:
space:
mode:
Diffstat (limited to 'debian/db/install/pgsql')
-rwxr-xr-xdebian/db/install/pgsql4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/db/install/pgsql b/debian/db/install/pgsql
index a63ac5c2..7a960471 100755
--- a/debian/db/install/pgsql
+++ b/debian/db/install/pgsql
@@ -28,8 +28,6 @@ if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then
;;
esac
fi
-# Run database initialization logic
-sudo -u postgres taler-merchant-dbinit -c /etc/taler/taler.conf
# get database settings from dbconfig-common and configure
# for service access!
if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then
@@ -61,3 +59,5 @@ if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then
;;
esac
fi
+# Run database initialization logic
+sudo -u postgres taler-merchant-dbinit -c /etc/taler/taler.conf