source: pmb4.2/trunk/fuentes/pmb/lliurex/utilidades/updatedtables @ 2851

Last change on this file since 2851 was 2851, checked in by jrpelegrina, 3 years ago

Fix categories and Rebeca z3950 settings

File size: 435 bytes
Line 
1#!/bin/bash
2
3echo "[ PMB 4.1] : Searching PMB database..."
4
5lliurex-sgbd --db_is_present lliurex-pmb
6
7if [ ! -f /tmp/db_is_present ]; then
8        echo "[ PMB 4.1] : PMB database not found. NOTHING TO DO"
9else
10        echo "[ PMB 4.1] : PMB database found. NOW some tables WILL BE UPDATED"
11        lliurex-pmb --upgrade   
12        PATH_SQL="/usr/share/pmb/www/lliurex/utilidades_sql/Update_tables.sql"
13        lliurex-sgbd --inject_sql lliurex-pmb $PATH_SQL 
14       
15fi
16
17exit 0
Note: See TracBrowser for help on using the repository browser.