roundcube version bump, rm installer dir

This commit is contained in:
Matthew Saunders Brown 2021-12-27 16:01:46 -08:00
parent c5306497c5
commit 52d4f45849

View File

@ -23,9 +23,9 @@ fi
installer_dir=$(dirname $(readlink -f $0)) installer_dir=$(dirname $(readlink -f $0))
cd /usr/local/src/ cd /usr/local/src/
wget https://github.com/roundcube/roundcubemail/releases/download/1.4.11/roundcubemail-1.4.11-complete.tar.gz wget https://github.com/roundcube/roundcubemail/releases/download/1.4.12/roundcubemail-1.4.12-complete.tar.gz
tar zxf roundcubemail-1.4.11-complete.tar.gz tar zxf roundcubemail-1.4.12-complete.tar.gz
mv roundcubemail-1.4.11 /srv/www/html/roundcube mv roundcubemail-1.4.12 /srv/www/html/roundcube
cd /usr/local/src/ 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 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) # # USER=$(stat -c '%U' /srv/www/html)
# # GROUP=$(stat -c '%G' /srv/www/html) # # GROUP=$(stat -c '%G' /srv/www/html)
# # chown -R $USER:$GROUP /srv/www/html/roundcube # # chown -R $USER:$GROUP /srv/www/html/roundcube
rm -r /srv/www/html/roundcube/installer/
chown -R vhost:vhost /srv/www/html/roundcube chown -R vhost:vhost /srv/www/html/roundcube
find /srv/www/html/roundcube -type d -exec chmod 755 {} + find /srv/www/html/roundcube -type d -exec chmod 755 {} +
find /srv/www/html/roundcube -type f -exec chmod 644 {} + find /srv/www/html/roundcube -type f -exec chmod 644 {} +