From 52d4f45849520552d5e89814aca51302b3f6e3ce Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Mon, 27 Dec 2021 16:01:46 -0800 Subject: [PATCH] roundcube version bump, rm installer dir --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 9af7e8b..4ef0616 100644 --- a/install.sh +++ b/install.sh @@ -23,9 +23,9 @@ fi installer_dir=$(dirname $(readlink -f $0)) cd /usr/local/src/ -wget https://github.com/roundcube/roundcubemail/releases/download/1.4.11/roundcubemail-1.4.11-complete.tar.gz -tar zxf roundcubemail-1.4.11-complete.tar.gz -mv roundcubemail-1.4.11 /srv/www/html/roundcube +wget https://github.com/roundcube/roundcubemail/releases/download/1.4.12/roundcubemail-1.4.12-complete.tar.gz +tar zxf roundcubemail-1.4.12-complete.tar.gz +mv roundcubemail-1.4.12 /srv/www/html/roundcube cd /usr/local/src/ wget https://github.com/johndoh/roundcube-sauserprefs/archive/refs/tags/1.18.4.tar.gz -O roundcube-sauserprefs-1.18.4.tar.gz @@ -62,6 +62,7 @@ install --owner=www-data --group=www-data --mode=750 --directory /var/tmp/roundc # # USER=$(stat -c '%U' /srv/www/html) # # GROUP=$(stat -c '%G' /srv/www/html) # # chown -R $USER:$GROUP /srv/www/html/roundcube +rm -r /srv/www/html/roundcube/installer/ chown -R vhost:vhost /srv/www/html/roundcube find /srv/www/html/roundcube -type d -exec chmod 755 {} + find /srv/www/html/roundcube -type f -exec chmod 644 {} +