1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-26 02:57:04 +00:00

made the setup repeatable

This commit is contained in:
Stefan Wienert 2015-02-21 16:05:47 +01:00
parent eab8652225
commit e2879a8eb1

View File

@ -48,11 +48,12 @@ if [ $needs_update == 1 ]; then
mv /usr/local/lib/roundcubemail-$VERSION/ /usr/local/lib/roundcubemail mv /usr/local/lib/roundcubemail-$VERSION/ /usr/local/lib/roundcubemail
rm -f /tmp/roundcube.tgz rm -f /tmp/roundcube.tgz
echo $VERSION > /usr/local/lib/roundcubemail/version echo $VERSION > /usr/local/lib/roundcubemail/version
fi fi
echo "installing roundcube autoreply/vacation plugin.." echo "installing roundcube autoreply/vacation plugin.."
rm -rf /tmp/Roundcube-Plugins rm -rf /tmp/Roundcube-Plugins /usr/local/lib/roundcubemail/plugins/vacation_sieve
git clone https://github.com/arodier/Roundcube-Plugins.git /tmp/Roundcube-Plugins git clone -q https://github.com/arodier/Roundcube-Plugins.git /tmp/Roundcube-Plugins
mv /tmp/Roundcube-Plugins/plugins/vacation_sieve /usr/local/lib/roundcubemail/plugins/vacation_sieve mv /tmp/Roundcube-Plugins/plugins/vacation_sieve /usr/local/lib/roundcubemail/plugins/vacation_sieve