Skip to content
Snippets Groups Projects
Select Git revision
  • 48ea6d411ed8517334be9ab3b03b67e356f2fcc6
  • main default protected
  • export
  • 28-conversion-tests
  • extraction
  • exploration
  • exploration-old
  • 2-encoding-fix
  • main-old
9 results

mcli

Blame
  • run.sh 1.12 KiB
    #!/bin/bash - 
    #
    # Copyright (C) 2017  Tetras Libre <admin@tetras-libre.fr>
    # Author: Curt, Sebastien <sebastien.curt@tetras-libre.fr>
    #
    # This program is free software: you can redistribute it and/or modify # it
    # under the terms of the GNU General Public License as published by # the Free
    # Software Foundation, either version 3 of the License, or # (at your option)
    # any later version.
    #
    # This program is distributed in the hope that it will be useful, # but WITHOUT
    # ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or
    # FITNESS FOR A PARTICULAR PURPOSE.  See the # GNU General Public License for
    # more details.
    #
    # You should have received a copy of the GNU General Public License # along
    # with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    set -o nounset                              # Treat unset variables as an error
    
    if [ ! -e `pwd`/main.env ]
    then
        echo "Please copy `pwd`/main.env.sample to `pwd`/main.env and edit it"
        exit 1
    fi
    . `pwd`/main.env
    
    for mod in $MODS
    do
        mod="install$mod"
        if [ -f $mod.sh ]
        then
            . `pwd`/$mod.sh | tee -a $mod.log install.log
        fi
    done