X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=UPGRADE;h=f8836939bdad0d6020b18f0f2e0642c336c1e7fc;hb=86bb50f8dab8ee19d158fb563eaa8ba22845059e;hp=5de1f0fd32cc6c086d2a61f40ddc1f993fa916ac;hpb=56807b0984b687a4e1d95c2dddc8525299a7cb8f;p=squirrelmail.git diff --git a/UPGRADE b/UPGRADE index 5de1f0fd..f8836939 100644 --- a/UPGRADE +++ b/UPGRADE @@ -7,9 +7,9 @@ using a previous version (0.1 or 0.2), it is suggested that you just start from scratch and configure your settings as if it was your first install. NOTE: The new plugin architecture required the use of some functions which -are not in all versions of PHP4. You will need at least PHP 4.0.4. If you +are not in all versions of PHP. You will need at least PHP 4.1.0. If you need to upgrade please go ahead and install the latest release version of -PHP4. +PHP. 1. Backup old install @@ -68,16 +68,13 @@ C. Copy plugins Like SquirrelMail, plugins are frequently updated for improvements, as well as to make them compatible with new SquirrelMail releases. It is suggested -that you download a new plugins archive at the same time you download your -SquirrelMail install, and that you install your plugins fresh (it's easy, -don't panic!). +that you download new versions of your plugins at the same time you download +your SquirrelMail install, and that you install your plugins fresh (it's +easy, don't panic!). -If you prefer to just copy your old plugins over (if it's the same version -or if you are lazy), you may do so. If you notice irregularities with the -plugins under the new SquirrelMail, try installing new versions of the -plugins. - - $ cp -Rp squirrelmail-1.0.6.bak/plugins/* squirrelmail-1.2.0/plugins +You should not try replacing plugins that are already included in SquirrelMail +package. Download latest versions of plugins that are not included in new +SquirrelMail package or copy them from older SquirrelMail install. D. Copy themes @@ -85,7 +82,11 @@ If you've created or modified themes, you should copy just those to the new SquirrelMail themes directory. To just copy them all over to the new SquirrelMail installation, you can run one command. - $ cp squirrelmail-1.0.6.bak/themes/* squirrelmail-1.2.0/themes/ + $ cp -ui squirrelmail-1.0.6.bak/themes/* squirrelmail-1.2.0/themes/ + +When -u flag is used, command copies only missing and newer files. +When -i flag is used, command asks for confirmation before replacing +existing files. (While you are at it, you should send them to us! We might add them to the themes in the standard install!) @@ -98,10 +99,10 @@ example, we assume that user "nobody" and group "nobody" are the web server as is often the case with Apache. $ cd squirrelmail-1.2.0 - $ chown -R nobody.nobody data + $ chown -R nobody:nobody data See INSTALL for alternate userid/groupid pairs. Additionally, if "chown -user.group" doesn't work, you can use "chown user" and "chgrp group" +user:group" doesn't work, you can use "chown user" and "chgrp group" instead. See the man pages for these commands for more information.