Installing Zimbra 4.5.x on Ubuntu 7.04 & 7.10 (Feisty Fawn & Gutsy Gibbon): Difference between revisions

No edit summary
(Adding categories)
Line 12: Line 12:
         ver=$(grep "DISTRIB_RELEASE" /etc/lsb-release | cut -d= -f2 | cut -d\. -f1)
         ver=$(grep "DISTRIB_RELEASE" /etc/lsb-release | cut -d= -f2 | cut -d\. -f1)
         if [ ${ver} -ge 6 ]; then
         if [ ${ver} -ge 6 ]; then
[[Category:Installation]]
[[Category:Ubuntu]]

Revision as of 22:57, 10 October 2007

The install script triggers zcs_get_plat_tag.sh in zcs/bin to find the release version, and the script is hardwired to version numbers. To trick the script, the easiest is to edit /etc/lsb-release and change the DISTRIB_RELEASE to just 6.

(You can do something similar with, for example, Fedora Core 7 by lowering the version number in /etc/redhat-release down to 5.)

Just need to remember to revert the version number back to the original after installation. If you don't want to touch the config files, the alternative is to edit zcs_get_plat_tag.sh. For example, with Ubuntu, find the two lines:

       grep "DISTRIB_RELEASE=6" /etc/lsb-release > /dev/null 2>&1
       if [ $? = 0 ]; then

and replace them with:

       ver=$(grep "DISTRIB_RELEASE" /etc/lsb-release | cut -d= -f2 | cut -d\. -f1)
       if [ ${ver} -ge 6 ]; then
Jump to: navigation, search