Changeset 2894


Ignore:
Timestamp:
Nov 17, 2016, 10:38:27 AM (3 years ago)
Author:
jrpelegrina
Message:

Fix postinst

Location:
pmb4.2/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pmb4.2/trunk/fuentes/debian/pmb.postinst

    r2851 r2894  
    5959        # Updated some tables
    6060                # Settings the lliurex-token for pmb
    61                 echo "######" >> /etc/lliurex-tokens/pmb4.1_updatedtables
    62                 echo "Updated some tables " >> /etc/lliurex-tokens/pmb4.1_updatedtables
    63                 date >> /etc/lliurex-tokens/pmb4.1_updatedtables
    64                 dpkg -s pmb | grep Version >> /etc/lliurex-tokens/pmb4.1_updatedtables 
    65                 echo "######" >> /etc/lliurex-tokens/pmb4.1_updatedtables       
     61                echo "######" >> /etc/lliurex-tokens/pmb4.2_updatedtables
     62                echo "Updated some tables " >> /etc/lliurex-tokens/pmb4.2_updatedtables
     63                date >> /etc/lliurex-tokens/pmb4.2_updatedtables
     64                dpkg -s pmb | grep Version >> /etc/lliurex-tokens/pmb4.2_updatedtables 
     65                echo "######" >> /etc/lliurex-tokens/pmb4.2_updatedtables       
    6666
    6767                # Calling utility               
  • pmb4.2/trunk/fuentes/pmb/lliurex/utilidades/updatedtables

    r2851 r2894  
    11#!/bin/bash
    22
    3 echo "[ PMB 4.1] : Searching PMB database..."
     3echo "[ PMB 4.2] : Searching PMB database..."
    44
    55lliurex-sgbd --db_is_present lliurex-pmb
    66
    77if [ ! -f /tmp/db_is_present ]; then
    8         echo "[ PMB 4.1] : PMB database not found. NOTHING TO DO"
     8        echo "[ PMB 4.2] : PMB database not found. NOTHING TO DO"
    99else
    10         echo "[ PMB 4.1] : PMB database found. NOW some tables WILL BE UPDATED"
     10        echo "[ PMB 4.2] : PMB database found. NOW some tables WILL BE UPDATED"
    1111        lliurex-pmb --upgrade   
    1212        PATH_SQL="/usr/share/pmb/www/lliurex/utilidades_sql/Update_tables.sql"
Note: See TracChangeset for help on using the changeset viewer.