Changes

Jump to navigation Jump to search
m
added note about array
Line 1,217: Line 1,217:  
signal-event yum-modify
 
signal-event yum-modify
 
}
 
}
      
clear
 
clear
Line 1,225: Line 1,224:  
PUSHVERSION=2.1.1-1788
 
PUSHVERSION=2.1.1-1788
 
INSTALLDIR=/root/install/zarafa
 
INSTALLDIR=/root/install/zarafa
 +
###################################################################################
 +
# Init zarafa-array to simplify code and reduce possible (future) mistakes
 +
# http://tldp.org/LDP/abs/html/arrays.html
 +
# Not used yet, please ignore for this note is just a placeholder
 +
# zarafa-array=( unix licensed dagent gateway ical monitor spooler indexer server )
 +
# So zarafa-array ranges from 0 to 8
 +
###################################################################################
 
if [ `$(cat /etc/redhat-release|grep -o 8` = "8"); then
 
if [ `$(cat /etc/redhat-release|grep -o 8` = "8"); then
 +
 
   RHV=5
 
   RHV=5
 
else
 
else
 +
 
   RHV=6
 
   RHV=6
 +
#  zarafa-array[7]=search # as per comment above, not used yet
 
fi
 
fi
 
if [ `getconf LONG_BIT` = "64" ]; then
 
if [ `getconf LONG_BIT` = "64" ]; then

Navigation menu