/scripts/upcp) runs, it executes the webmail script found at /usr/local/cpanel/install/webmail. This, in turn, executes /usr/local/cpanel/bin/update-horde.
The update-horde script then does the following: rm -rf /usr/local/cpanel/base/horde).
update-horde, extracts the appropriate Horde source tarball to /usr/local/cpanel/base.
root and the group wheel.
/var/cpanel/horde/horde.backup.sql.«current timestamp». /var/cpanel/horde.
update-horde script checks for custom Horde tarballs in the following locations: /var/cpanel/horde/horde-local.tar — Use this location for an uncompressed tarball you want to apply to Horde regardless of version.
/var/cpanel/horde/horde-local.tar.gz — Use this location for a compressed tarball you want to apply to Horde regardless of version.
/var/cpanel/horde/horde-$hordever-local.tar — Use this location for an uncompressed tarball you want to apply to a specific Horde version.
/var/cpanel/horde/horde-$hordever-local.tar.gz — Use this location for a compressed tarball you want to apply to a specific Horde version.
/var/cpanel/horde/horde-local.tar and /var/cpanel/horde/horde-3.1.3p4-local.tar.gz exist, the latter will be used, assuming its version number is specified in the update-horde script.
$hordever must match the hordever variable defined in update-horde. Thus, in update-horde, if hordever='3.1.3p4', the custom tarball should be named horde-3.1.3p4-local.tar.gz.
horde, all lowercase and without a version number. /usr/local/cpanel/base/horde
/usr/local/cpanel/base/horde — but starts with only horde.
After determining which tarball to use for the source install, and extracting it, the update-horde script checks for the following: /var/cpanel/horde/overlay.tar — Use this location for an uncompressed overlay you want to apply to Horde regardless of version.
/var/cpanel/horde/overlay.tar.gz — Use this location for a compressed overlay you want to apply to Horde regardless of version.
/var/cpanel/horde/overlay.$hordever.tar — Use this location for an uncompressed overlay you want to apply to a specific Horde version.
/var/cpanel/horde/overlay.$hordever.tar.gz — Use this location for a compressed overlay you want to apply to a specific Horde version.
$hordever must match the version number specified in the update-horde script.
update-horde checks for the existence of /var/cpanel/horde/install. update-horde script will execute it and terminate, thus bypassing cPanel's manipulation of the Horde configuration files. /var/cpanel/horde/install exists but is not executable, the file contents will be printed to STDOUT and the normal cPanel configuration of Horde will continue with the remaining steps detailed in the General Installation Procedure.
update-horde only retains the last 4 backups, continuous execution of update-horde may cause you to lose all your customer data (unless it is retained in external backups). For this reason, we do not advise continuous backups of a non-operational Horde installation.
Copyright © cPanel 2000–2011.