%m2kv45_patch_1011080954
# ==================================================
# Patch for Mail2000 v4.5 (1011080954)
# ===================================================
# Making backup...
$$system('./do_backup.pl m2kpatchV45_1011080954.bak patch_backup.lst')	Cannot make backup, abort.
# updating config files...
@./merge_conf.pl -s oml_var.tmpl -d /webmail/etc/oml_var -c :
# Copying files...
@cp -Rpf httpd/cgi-bin/auto_forward /webmail/httpd/cgi-bin/auto_forward
@cp -Rpf etc/def_portal /webmail/etc/def_portal
@cp -Rpf httpd/cgi-bin/portal /webmail/httpd/cgi-bin/portal
@cp -Rpf httpd/cgi-bin/portal_modules /webmail/httpd/cgi-bin/portal_modules
@cp -Rpf httpd/cgi-bin/naportal /webmail/httpd/cgi-bin/naportal
@cp -Rpf httpd/data/j45/PortalModule.js /webmail/httpd/data/j45/PortalModule.js
@cp -Rpf httpd/data/chs/portal.xml /webmail/httpd/data/chs/portal.xml
@cp -Rpf httpd/data/cht/portal.xml /webmail/httpd/data/cht/portal.xml
@cp -Rpf httpd/data/en/portal.xml /webmail/httpd/data/en/portal.xml
@cp -Rpf httpd/data/chs/j45/msgtw.js /webmail/httpd/data/chs/j45/msgtw.js
@cp -Rpf httpd/data/chs/j45/submenu.js /webmail/httpd/data/chs/j45/submenu.js
@cp -Rpf httpd/data/cht/j45/msgtw.js /webmail/httpd/data/cht/j45/msgtw.js
@cp -Rpf httpd/data/cht/j45/submenu.js /webmail/httpd/data/cht/j45/submenu.js
@cp -Rpf httpd/data/en/j45/msgtw.js /webmail/httpd/data/en/j45/msgtw.js
@cp -Rpf httpd/data/en/j45/submenu.js /webmail/httpd/data/en/j45/submenu.js
@cp -Rpf template/standard/portal.tpl /webmail/template/standard/portal.tpl
@cp -Rpf template/standard/portal_forward_xml.tpl /webmail/template/standard/portal_forward_xml.tpl
@cp -Rpf template/simple/portal_panel.tpl /webmail/template/simple/portal_panel.tpl
@cp -Rpf template/simple/portal_addpanel.tpl /webmail/template/simple/portal_addpanel.tpl
@cp -Rpf template/simple/portal_forward_xml.tpl /webmail/template/simple/portal_forward_xml.tpl
@cp -Rpf message/s_cht/portal_addpanel.msg /webmail/message/s_cht/portal_addpanel.msg
@cp -Rpf message/s_cht/portal_panel.msg /webmail/message/s_cht/portal_panel.msg
@cp -Rpf message/s_cht/portal_forward_xml.msg /webmail/message/s_cht/portal_forward_xml.msg
@cp -Rpf template/standard/default.oml /webmail/template/standard/default.oml
@cp -Rpf template/simple/default.oml /webmail/template/simple/default.oml
# =====================================
# patch successful.
# =====================================
