From ebce9ec649a65a21a4e9c9a1510d811b41315f59 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Fri, 14 Feb 2014 20:02:36 +0100 Subject: [PATCH] Removed unused file --- docs/install.sh | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 docs/install.sh diff --git a/docs/install.sh b/docs/install.sh deleted file mode 100644 index c9efd35..0000000 --- a/docs/install.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -VERSION='2.0' - -echo 'Press ENTER to continue or any other key to abort' -read -s -n 1 key - -if [[ "$key" = "" ]] -then - - if [ -e Lychee-$VERSION ] - then - - echo "The folder 'Lychee-$VERSION' already exists. Please delete it before you try to install Lychee." - exit 1 - - fi - - if [ -e lychee ] - then - - echo "The folder 'lychee' already exists. Please delete it before you try to install Lychee." - exit 1 - - fi - - echo 'Downloading and installing Lychee...' && \ - curl -sS https://codeload.github.com/electerious/Lychee/zip/v$VERSION > lychee.zip && \ - echo 'Downloaded.' && \ - echo 'Unzipping...' && \ - unzip lychee.zip && \ - rm lychee.zip && \ - mv Lychee-$VERSION lychee && \ - cd lychee && \ - echo 'The required directories will be made writable and executable for others. Please enter your password if prompted to do so.' && \ - sudo chmod -R 777 uploads php && \ - echo 'Installation successful!' && \ - exit 0 - -fi \ No newline at end of file