How can i make Comodo Offline Updater on Linux-based Server?

Hello guys.
Can u help me make Comodo Offline Updater on Ubuntu Server?

I found this script

#!/bin/bash
#
# Comodo Antivirus Local Updater 2013/05/01
#
# Copyright 2012-2013 by 2dayadmin.ru
# Licensed under GNU GPL v2 or later
#

# Local path
DIR=/u01/comodo
# Master server
SERVER=http://download.comodo.com
# Comodo versions
VER="55 58"
# Program to modules version association
_VER[55]="1500"
_VER[58]="1800 1850 2000 2001"

# Update base function
function update_CIS_base {
  local SERVER=$1
  local DIR=$2
  local TMP=$DIR/tmp
  # Create temporary directory
  mkdir -p $TMP >/dev/null 2>&1
  VERINFO=$TMP/versioninfo.ini
  # Create working directories
  mkdir -p $DIR/sigs/bases >/dev/null 2>&1
  mkdir -p $DIR/sigs/updates >/dev/null 2>&1
  # Get header file from server
  $WGET $SERVER/versioninfo.ini -O $VERINFO
  [ "$?" = "0" ] || return 1
  # Extract values from header file
  MaxBase=`cat $VERINFO | grep "MaxBase" | cut -d "=" -f2 | tr -d "\r\n"`
  MaxAvailVersion=`cat $VERINFO | grep "MaxAvailVersion" | cut -d "=" -f2 | tr -d "\r\n"`
  MaxDiff=`cat $VERINFO | grep "MaxDiff=" | cut -d "=" -f2 | tr -d "\r\n"`
  MaxDiffLimit=`cat $VERINFO | grep "MaxDiffLimit" | cut -d "=" -f2 | tr -d "\r\n"`
  let MinBase=$MaxBase-$MaxDiff
  rm $VERINFO
  # Get current base
  CurrBase=`ls $DIR/sigs/bases/BASE_END_USER_v*.cav.z | sed -ne '/.*USER_v\([0-9]*\).*/s//\1/p'`
  [ $CurrBase -ge $MinBase ] && MaxBase=$CurrBase
  # Get full base
  cp $DIR/sigs/bases/BASE_END_USER_v$MaxBase.cav.z $TMP/ >/dev/null 2>&1
  if [ ! -r "$TMP/BASE_END_USER_v$MaxBase.cav.z" ]; then
    $WGET $SERVER/sigs/bases/BASE_END_USER_v$MaxBase.cav.z -O $TMP/BASE_END_USER_v$MaxBase.cav.z
    [ "$?" = "0" ] || return 1
  fi
  # Get updates
  let x=$MinBase
  while [ $x -le $MaxAvailVersion ] ; do
    if [ -r "$DIR/sigs/updates/BASE_UPD_END_USER_v$x.cav.z" ]; then
      mv $DIR/sigs/updates/BASE_UPD_END_USER_v$x.cav.z $TMP/
    else
      $WGET $SERVER/sigs/updates/BASE_UPD_END_USER_v$x.cav.z -O $TMP/BASE_UPD_END_USER_v$x.cav.z
      [ "$?" = "0" ] || return 1
    fi
    let x=$x+1
  done
  # Clear all working directories
  rm $DIR/versioninfo.ini >/dev/null 2>&1
  rm $DIR/sigs/bases/* >/dev/null 2>&1
  rm $DIR/sigs/updates/* >/dev/null 2>&1
  # Move all files to working dir
  mv $TMP/BASE_END_USER_v$MaxBase.cav.z $DIR/sigs/bases/
  let x=$MinBase
  while [ $x -le $MaxAvailVersion ] ; do
    mv $TMP/BASE_UPD_END_USER_v$x.cav.z $DIR/sigs/updates/
    let x=$x+1
  done
  echo "[VersionInfo]" > $DIR/versioninfo.ini
  echo "MaxBase=$MaxBase" >> $DIR/versioninfo.ini
  echo "MaxAvailVersion=$MaxAvailVersion" >> $DIR/versioninfo.ini
  echo "MaxDiff=$MaxDiff" >> $DIR/versioninfo.ini
  echo "MaxDiffLimit=$MaxDiffLimit" >> $DIR/versioninfo.ini
  # Remove all temp files
  rm -rf $TMP/* >/dev/null 2>&1
  rmdir $TMP >/dev/null 2>&1
}

# Modules update function
function update_CIS_modules {
  local SERVER=$1
  local DIR=$2
  mkdir -p $DIR >/dev/null 2>&1
  # Get x32 header file from server
  UPDATEXML32=cis_update_x32.xml
  $WGET $SERVER/$UPDATEXML32 -O $DIR/$UPDATEXML32
  [ "$?" == "0" ] || return 1
  # Get x32 header file from server
  UPDATEXML64=cis_update_x64.xml
  $WGET $SERVER/$UPDATEXML64 -O $DIR/$UPDATEXML64
  [ "$?" == "0" ] || return 1
  # Extract values from xml file
  cat $DIR/$UPDATEXML32 $DIR/$UPDATEXML64 | grep -io '<file[^>]*>' | tr -d "\"<>" | while read str; do
    fsize=`echo $str | sed -ne '/.*size=\([^ ]*\).*/s//\1/p'`
    fsrc=`echo $str | sed -ne '/.*src=\([^ ]*\).*/s//\1/p'`
    fsha=`echo $str | sed -ne '/.*sha=\([^ ]*\).*/s//\1/p'`
    if [ ! -r $DIR/$fsrc ]; then
      mkdir -p `dirname $DIR/$fsrc` >/dev/null 2>&1
      $WGET $SERVER/$fsrc -O $DIR/$fsrc
    else
      sha=`shasum -b $DIR/$fsrc | sed -ne '/\([^ ]*\).*/s//\1/p'`
      sz=`stat -c%s $DIR/$fsrc`
      if [ "$sha" != "$fsha" ]; then
        $WGET $SERVER/$fsrc -O $DIR/$fsrc
      fi
    fi
  done
}


WGET="wget"
# Update bases
for v in $VER; do
  update_CIS_base $SERVER/av/updates$v $DIR/av/updates$v $v
done
mkdir -p $DIR/av/tvl >/dev/null 2>&1
$WGET $SERVER/av/tvl/deletedvendors.txt -O $DIR/av/tvl/deletedvendors.txt

# Update modules
for v in $VER; do
  if [ -n "${_VER[$v]}" ]; then
    for vv in ${_VER[$v]}; do
      update_CIS_modules $SERVER/cis/download/updates/release/inis_$vv $DIR/cis/download/updates/release/inis_$vv
    done
  fi
done

exit 0

I created Virtual Host in Apache2

<VirtualHost *:88>
        DocumentRoot /mnt/data/distr/bases
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
	
	<Directory /mnt/data/distr/bases/>
	Options Indexes FollowSymLinks
	Require all granted 
	</Directory>
</VirtualHost>

And added in CIS on client’s PC way to Updater server (http://192.168.1.222:88/)

When i wanna update CIS on client’s PC bases are updated but do not installed coz i have mistake.

Not Found

The requested URL /cis/download/updates/release/inis_2001/release_notes.html was not found on this server.

MB there are any other ways?