Skip to content
Snippets Groups Projects
Commit 8867f057 authored by alangrafu's avatar alangrafu
Browse files

Added install script used in http://lodspeakr.org/install (modified by Tim)

parent ecbaafd0
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
# Installation script for LODSPeaKr (http://lodspeakr.org)
# Author: Alvaro Graves (alvaro@graves.cl)
# Modified by: Tim Lebo (lebot@rpi.edu)
lodspeakr_repository="git://github.com/alangrafu/lodspeakr.git"
home=`basename $lodspeakr_repository | sed 's/.git//'`
source ~/.bashrc
GIT=`which git`
if [ -z "$GIT" ]; then
echo "git is required to continue installation. Please add git to your \$PATH."
exit 1
fi
if [ ! -e "$home" ]; then
$GIT clone $lodspeakr_repository
cd $home
./install.sh
else
echo "There is already an existing directory called '$home'. Installation cancelled. Remove it first and try again."
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment