diff --git a/setup/webmail.sh b/setup/webmail.sh index 3db2e26a..3fc109e0 100755 --- a/setup/webmail.sh +++ b/setup/webmail.sh @@ -29,7 +29,7 @@ apt_install \ apt-get purge -qq -y roundcube* #NODOC # Install Roundcube from source if it is not already present or if it is out of date. -VERSION=1.0.2 +VERSION=1.0.3 needs_update=0 #NODOC if [ ! -f /usr/local/lib/roundcubemail/version ]; then # not installed yet #NODOC @@ -43,6 +43,7 @@ if [ $needs_update == 1 ]; then rm -f /tmp/roundcube.tgz wget -qO /tmp/roundcube.tgz http://downloads.sourceforge.net/project/roundcubemail/roundcubemail/$VERSION/roundcubemail-$VERSION.tar.gz tar -C /usr/local/lib -zxf /tmp/roundcube.tgz + rm -rf /usr/local/lib/roundcubemail mv /usr/local/lib/roundcubemail-$VERSION/ /usr/local/lib/roundcubemail rm -f /tmp/roundcube.tgz echo $VERSION > /usr/local/lib/roundcubemail/version