Commit 62b5a218 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

old unused code removed

parent e1d5774c
Pipeline #47658 canceled with stage
in 3 minutes and 30 seconds
......@@ -27,15 +27,6 @@ set -e
case "$1" in
configure)
#if we update the package from version before flyway was introduced
if [ -f $DB_SCRIPT_DIR/db_${OLD_VERSION}_to_${MAX_DB_VERSION_FOR_MIGRTION}.sql ]; then
mkdir -p /usr/share/dbconfig-common/data/minerva/upgrade/pgsql/
cp $DB_SCRIPT_DIR/db_${OLD_VERSION}_to_${MAX_DB_VERSION_FOR_MIGRTION}.sql /usr/share/dbconfig-common/data/minerva/upgrade/pgsql/$CURRENT_VERSION
else
log "INFO: File doesn't exist: $DB_SCRIPT_DIR/db_${OLD_VERSION}_to_${MAX_DB_VERSION_FOR_MIGRTION}.sql"
fi
. /usr/share/dbconfig-common/dpkg/postinst.pgsql
dbc_generate_include_owner="root:root"
dbc_generate_include_perms="0640"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment