浏览代码

Update upgrade.rst

correct code example
Len 9 年之前
父节点
当前提交
aa68d2167c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      source/advanced/upgrade.rst

+ 2 - 2
source/advanced/upgrade.rst

@@ -107,9 +107,9 @@ Used to update FusionPBX to the latest release.
  rm -Rf /usr/local/freeswitch/scripts/
  rm -Rf /usr/local/freeswitch/scripts/
  cd /usr/src
  cd /usr/src
  git clone https://github.com/fusionpbx/fusionpbx.git
  git clone https://github.com/fusionpbx/fusionpbx.git
- cp /fusionpbx/resources/install/scripts /usr/local/freeswitch
+ cp -R /var/www/fusionpbx/resources/install/scripts /usr/local/freeswitch
  chown -R www-data:www-data /usr/local/freeswitch/scripts
  chown -R www-data:www-data /usr/local/freeswitch/scripts
- cp /usr/local/freeswitch/scripts-bak/resources/config.lua /usr/local/freeswitch/scripts/resources/config.lua
+ cp -R /usr/local/freeswitch/scripts-bak/resources/config.lua /usr/local/freeswitch/scripts/resources/config.lua
 
 
 (The last step above is not required if your config.lua file is being stored in a different location, such as the /etc/fusionpbx folder.)
 (The last step above is not required if your config.lua file is being stored in a different location, such as the /etc/fusionpbx folder.)