Changeset 2110


Ignore:
Timestamp:
Jul 6, 2016, 11:47:13 AM (3 years ago)
Author:
Juanma
Message:

WIP on notifications and installation results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-zero-installers/trunk/fuentes/zero-lliurex-moodle.zmds/install-moodle.zmd

    r1558 r2110  
    1616MSG_ZENITY_MOODLE_7=$(gettext "Configuring installed languages in Moodle....")
    1717MSG_MOODLE_INSTALLED=$(gettext "Moodle has been installed in your system. You can check it with firefox in this URL http://moodle")
     18MSG_MOODLE_INSTALL_PROBLEM=$(gettext "Moodle has NOT been installed in your system. Please check the logs.")
    1819
    1920HELP_PROGRESS_BAR="/tmp/help_moodle_install.txt"
     
    3738zero-installer -l /usr/share/lliurex-zero-installers/moodle-packages
    3839
     40if [ $? -ne 0 ]
     41then
     42        echo "$MSG_MOODLE_INSTALL_PROBLEM"
     43        zenity --info --text="$MSG_MOODLE_INSTALL_PROBLEM" &
     44        rm $HELP_PROGRESS_BAR
     45        zero-center set-non-configured install-moodle
     46        zero-center remove-pulsating-color install-moodle
     47        exit 1
     48fi
    3949##if [ ! -d "/var/lib/moodle" ]; then
    4050##      mkdir -p /var/lib/moodle
Note: See TracChangeset for help on using the changeset viewer.