lychee/docs/install.sh
Tobias Reich dd2f6ebc77 V2.0
- All new redefined interface
- Faster animations and transitions
- Import from Dropbox
- Import from Server
- Download public albums
- Several sorting options
- Installation assistent
- Infobox and description for albums
- Faster loading and improved performance
- Better file handling and upload
- Album covers are chosen intelligent
- Prettier URLs
- Massive changes under the hood
- IPTC support (Headline and Caption)
- EXIF Orientation support

How to update:
1. Replace all files, excluding `uploads/`
2. Open Lychee and enter your database details
2014-01-22 11:12:51 +01:00

40 lines
922 B
Bash

#!/bin/sh
VERSION='1.3.2'
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