Changeset 3497


Ignore:
Timestamp:
Feb 1, 2017, 5:16:44 PM (2 years ago)
Author:
mabarracus
Message:

Fix bugs

Location:
lliurex-jclic-user-library/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-jclic-user-library/trunk/fuentes/debian/changelog

    r3496 r3497  
     1lliurex-jclic-user-library (0.2) xenial; urgency=medium
     2
     3  * Fix bugs
     4
     5 -- M.Angel Juan <m.angel.juan@gmail.com>  Wed, 01 Feb 2017 17:16:23 +0100
     6
    17lliurex-jclic-user-library (0.1) xenial; urgency=medium
    28
  • lliurex-jclic-user-library/trunk/fuentes/lliurex-jclic-user-library.install/usr/bin/lliurex-jclic-user-library

    r3496 r3497  
    33libs=$(for x in $(find /net/server-sync/share/jclic-aula/ -maxdepth 2 -name library.jclic -o -name jclic.jclic);do if [ "$(cat $x|grep menuElement|wc -l)" -gt "9" ]; then echo $x; fi; done;)
    44
    5 HAVE_RATOLI=""
    6 HAVE_MURCIA=""
    7 HAVE_MESTRE=""
     5L_RATOLI=''
     6L_MESTRE=''
     7L_MURCIA=''
     8
    89for x in $libs; do
    910    if [ -n "$(echo $x|egrep -i -o 'ratoli'|uniq)" ];then
    10         HAVE_RATOLI="yes"
     11        L_RATOLI='<library name="Activitats JClic Infantil i Primària 29/07/2012" path="/net/server-sync/share/jclic-aula/ratoli/library.jclic" />'
    1112    fi
    1213    if [ -n "$(echo $x|egrep -i -o 'elteumestre'|uniq)" ];then
    13         HAVE_MESTRE="yes"
     14        L_MESTRE='<library name="elteumestre JClic Infantil i Primària" path="/net/server-sync/share/jclic-aula/elteumestre_JClic_Infantil_Primaria_13.7/jclic.jclic" />'
    1415    fi
    1516    if [ -n "$(echo $x|egrep -i -o 'murcia'|uniq)" ];then
    16         HAVE_MURCIA="yes"
     17        L_MURCIA='<library name="Biblioteca CPR MURCIA II 08/09" path="/net/server-sync/share/jclic-aula/Murcia/library.jclic" />'
     18
    1719    fi
    1820done;
     
    2426language=es'
    2527
    26 L_RATOLI='<library name="Activitats JClic Infantil i Primària 29/07/2012" path="/net/server-sync/share/jclic-aula/ratoli/library.jclic" />'
    27 L_MESTRE='<library name="elteumestre JClic Infantil i Primària" path="/net/server-sync/share/jclic-aula/elteumestre_JClic_Infantil_Primaria_13.7/jclic.jclic" />'
    28 L_MURCIA='<library name="Biblioteca CPR MURCIA II 08/09" path="/net/server-sync/share/jclic-aula/Murcia/library.jclic" />'
    2928
    3029jclic_cfg='<?xml version="1.0" encoding="UTF-8"?>
     
    8887properties_file=$(echo $edu_xtec_properties|sed -e "s%__alumno__%$USER%g")
    8988library_file=$library_jclic
    90 cfg_file=$(echo $jclic_cfg|sed -e "s%__lib1__%$L_RATOLI%g" -e "s%__lib2__%$L_MESTRE%g" -e "s%__lib3__%$L_MURCIA%g" -e "s%__alumno__%$USER%g")
    91 echo $properties_file
     89cfg_file=$(echo $jclic_cfg|sed -e "s%__lib1__%$L_RATOLI%g" -e "s%__lib2__%$L_MESTRE%g" -e "s%__lib3__%$L_MURCIA%g" -e "s%__alumno__%$USER%g" -e "/^\s*$/d")
     90
    9291mkdir -p $moving_path/$jclic_path
    9392echo $properties_file > $moving_path/.edu.xtec.properties
Note: See TracChangeset for help on using the changeset viewer.