Skip to content

Commit

Permalink
Fix debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
matyldv committed Aug 27, 2024
1 parent 138f49e commit 97b23f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions debian/ralph-core.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fix_ownerships () {
db_configuration () {
if [ ! -e "/etc/ralph/conf.d/database.conf" ] ; then

DATABASE_ENGINE_DRIVER=transaction_hooks.backends.mysql
DATABASE_ENGINE_DRIVER=django.db.backends.mysql

db_get ralphsrv/use_default
if [ "$RET" = "false" ] ; then
Expand All @@ -36,7 +36,7 @@ db_configuration () {
DATABASE_NAME=$RET

if [ $DATABASE_ENGINE = "postgresql" ] ; then
DATABASE_ENGINE_DRIVER=transaction_hooks.backends.postgresql_psycopg2
DATABASE_ENGINE_DRIVER=django.db.backends.postgresql_psycopg2
fi

else
Expand Down Expand Up @@ -71,7 +71,7 @@ case "$1" in
;;

abort-upgrade|abort-remove|abort-deconfigure)
;;
;;

*)
echo "postinst called with unknown argument \`$1'" >&2
Expand Down

0 comments on commit 97b23f9

Please sign in to comment.