get spreedme script

This commit is contained in:
Daniel Hansson 2016-12-02 16:02:44 +01:00 committed by GitHub
parent a47da0a411
commit 5875f8a6c3

View File

@ -485,6 +485,15 @@ CALVER=$(wget -q https://raw.githubusercontent.com/nextcloud/calendar/master/app
CALVER_FILE=calendar.tar.gz
CALVER_REPO=https://github.com/nextcloud/calendar/releases/download
# Get spreedme script
if [ -f $SCRIPTS/spreedme.sh ]
then
rm $SCRIPTS/spreedme.sh
wget -q $STATIC/spreedme.sh -P $SCRIPTS
else
wget -q $STATIC/spreedme.sh -P $SCRIPTS
fi
sudo -u www-data php $NCPATH/occ config:system:set preview_libreoffice_path --value="/usr/bin/libreoffice"
function calendar {