5
###############################################################################
7
# Perform actions needed for upgrade from GNATS 3 to GNATS 4
10
if [ "$1" = configure ]; then
11
if dpkg --compare-versions "$2" lt 3.999 \
12
&& [ -e $DB_CONFIG_DIR/default ]; then
13
if [ ! -e $DB_CONFIG_DEFAULT_DIR ]; then
14
ln -sf default $DB_CONFIG_DEFAULT_DIR
17
if [ ! -e $DB_CONFIG_DEFAULT_DIR ]; then
18
ln -sf $GNATSADMDIR $DB_CONFIG_DEFAULT_DIR
22
if dpkg --compare-versions "$2" lt 3.999; then
23
db_input medium gnats/upgrade_3_4 || true