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 {} +