#!/bin/sh

#==============================================================
# $Source: /sources/gnumed/gnumed/gnumed/server/gm-fixup_server,v $
# $Id: gm-fixup_server,v 1.1 2009/05/04 09:46:02 ncq Exp $
#
# author: Andreas Tille, Karsten Hilbert
# license: GPL v2
#
# This wrapper is intended to be installed into a systemwide
# admin-only executable directory such as "/usr/sbin/"
#
# It should be run as root and will call the upstream script
# to actually apply fixes to an existing database.
#
#==============================================================
# those probably need some adjustment from package maintainers:

GM_LOG_BASE="/var/log/gnumed/server"
GM_SERVER_DIR="/var/lib/gnumed/server/bootstrap"

#==============================================================

set -e

cd ${GM_SERVER_DIR}
./fixup-db.sh $@

#==============================================================
# $Log: gm-fixup_server,v $
# Revision 1.1  2009/05/04 09:46:02  ncq
# - new
#
#