From 36ccbffddd4a97720c9dbd019c7da22c2f8105ba Mon Sep 17 00:00:00 2001 From: Keats Date: Wed, 23 Apr 2014 19:41:04 +0100 Subject: [PATCH] Fix install on Ubuntu 14.04 --- scripts/web.sh | 2 +- scripts/webmail.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/web.sh b/scripts/web.sh index 55d7f43..1228139 100755 --- a/scripts/web.sh +++ b/scripts/web.sh @@ -2,7 +2,7 @@ ################################################# apt-get remove -q -y apache2 -apt-get install -q -y nginx +apt-get install -q -y nginx php5-cgi rm -f /etc/nginx/sites-enabled/default diff --git a/scripts/webmail.sh b/scripts/webmail.sh index 065686a..739974a 100755 --- a/scripts/webmail.sh +++ b/scripts/webmail.sh @@ -19,7 +19,7 @@ src_fn=roundcube_0.9.5.orig.tar.gz src_dir=roundcubemail-0.9.5-dep wget -nc -P externals http://ftp.debian.org/debian/pool/main/r/roundcube/$src_fn tar -C /tmp -xzf $(pwd)/externals/$src_fn -if [ ! -d /usr/share/roundcube/SQL ]; then mv /tmp/$src_dir/SQL/ /usr/share/roundcube/; fi +if [ ! -d /var/lib/roundcube/SQL ]; then mv /tmp/$src_dir/SQL/ /var/lib/roundcube/; fi rm -rf /tmp/$src_dir # Settings