Changeset 7348


Ignore:
Timestamp:
Jun 5, 2018, 12:31:30 PM (16 months ago)
Author:
jrpelegrina
Message:

Deleted files for the zenity version of the zomando

Location:
zero-lliurex-pmb/trunk/fuentes
Files:
3 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • zero-lliurex-pmb/trunk/fuentes/debian/changelog

    r5300 r7348  
     1zero-lliurex-pmb (0.9) xenial; urgency=medium
     2
     3  * Implemented changes to use EPI
     4
     5 -- Juan Ramon Pelegrina <juapesai@hotmail.com>  Thu, 03 May 2018 12:39:16 +0200
     6
    17zero-lliurex-pmb (0.8) xenial; urgency=medium
    28
  • zero-lliurex-pmb/trunk/fuentes/debian/control

    r4969 r7348  
    99Package: zero-lliurex-pmb
    1010Architecture: all
    11 Depends: ${misc:Depends}, synaptic, llxcfg-runtime
     11Depends: ${misc:Depends}, synaptic, llxcfg-runtime, epi-gtk
    1212Conflicts: zero-lliurex-pmb-installer
    1313Replaces: zero-lliurex-pmb-installer (<=0.5.3)
  • zero-lliurex-pmb/trunk/fuentes/zero-lliurex-pmb.zlaunchers/zero-lliurex-pmb.app

    r3631 r7348  
    1010Comment[ca_ES]=Instal·lador del gestor de biblioteques en servidors
    1111Icon=zero-lliurex-pmb
    12 Category=Software
     12Category=Services
    1313ScriptPath=zero-lliurex-pmb.zmd
    1414Groups=adm;admins
  • zero-lliurex-pmb/trunk/fuentes/zero-lliurex-pmb.zlaunchers/zero-lliurex-pmb.zmd

    r3631 r7348  
    11#!/bin/bash
    22
    3 export TEXTDOMAIN="zero-lliurex-pmb"
    4 
    5 MSG_ADVERTISEMENT=$(gettext "You are going to install PMB \\nIt includes mysql, http, php and others, if needs.\\n It will take a long time.\\n Be patient.")
    6 MSG_DONE=$(gettext "Done")
    7 MSG_TITLE=$(gettext "Advertisement")
    8 MSG_AVISO=$(gettext "Your database are going to update.")
    9 MSG_NOCONFIGURE=$(gettext "No configuration done")
    10 MSG_PMB_DETECTED=$(gettext "A copy of PMB has been detected! Do you want to continue?")
    11 
    12 zero-center add-pulsating-color zero-lliurex-pmb
    13 
    14 
    15 
    16 # Test if a previous pmb is installed on the current systme
    17 #
    18 if [ -d /usr/share/pmb ]; then
    19         if zenity --question --title="$MSG_TITLE" --width=300 --height=100 --text="$MSG_PMB_DETECTED"; then
    20                 echo "Continua l'instalació..."
    21         else
    22                 zenity --info --text="$MSG_NOCONFIGURE"
    23                 zero-center remove-pulsating-color zero-lliurex-pmb
    24                 exit 1
    25         fi
    26 fi
    27 
    28 if zenity --question --title="$MSG_TITLE" --width=300 --height=100 --text="$MSG_ADVERTISEMENT"; then
    29         zero-installer install lliurex-pmb
    30         if [ $?  -ne 0 ]
    31         then
    32                 zero-center remove-pulsating-color zero-lliurex-pmb
    33                 exit 1
    34         fi
    35 else
    36         zero-center remove-pulsating-color zero-lliurex-pmb
    37         exit 1
    38 fi
    39 
    40 # Testing it MySQL is alive and the root passwd is available
    41 # "sudo" is mandatory here, I don't understand the correct reason...
    42 # if you are reading this comment, and know the answer...please contact with us
    43 #
    44 sudo mysql_root_passwd -i
    45 
    46 # Since the 0.61 version, which is required by lliurex-pmb the lliurex-sgbd utility uses
    47 # a simple mechanism to create a token in /tmp/db_is_present , a more useful mechanism that "NO"
    48 # at STDOUT. 
    49 lliurex-sgbd --db_is_present lliurex-pmb
    50 if [ ! -f /tmp/db_is_present ]; then
    51         lliurex-pmb --install-database
    52 else
    53         zenity --info --text="$MSG_AVISO"
    54         lliurex-pmb --upgrade
    55 fi
    56 
    57 lliurex-pmb --hosts
    58 
    59 zero-center remove-pulsating-color zero-lliurex-pmb
    60 zero-center set-configured zero-lliurex-pmb
     3epi-gtk /usr/share/zero-lliurex-pmb/lliurex-pmb.epi
    614
    625exit 0
Note: See TracChangeset for help on using the changeset viewer.