- upgrade)
- echo " ! "`date`" $1 !" >> $debugfile
-
- VER=`cat /var/www/lx-office-erp/VERSION | cut -d '.' -f2`
- if [ $VER = '6' ]; then
- echo " ! 2.6 !" >> $debugfile
- echo "Version 2.6.x"
- mk_new_menu
- else
- mk_new_menu
- mk_new_config
- config_postgresql_factory_script
- set_lx_office_erp_web_admin_password
- set_lx_office_erp_authentication_db_user_password
- mk_links
- fi;
-
- set_user_rights
- reload_web_server
+ upgrade)
+ echo " ! "`date`" $1 !" >> $debugfile
+
+ VER=`cat /var/www/lx-office-erp/VERSION | cut -d '.' -f2`
+ if [ $VER = '6' ]; then
+ echo " ! 2.6 !" >> $debugfile
+ echo "Version 2.6.x"
+ mk_new_menu
+ else
+ mk_new_menu
+ mk_new_config
+ config_postgresql_factory_script
+ set_lx_office_erp_web_admin_password
+ set_lx_office_erp_authentication_db_user_password
+ mk_links
+ fi;
+
+ set_user_rights
+ reload_web_server