Просмотр исходного кода

Copy new screenrc_bk file on update

own3mall 6 лет назад
Родитель
Сommit
ea7390b9c3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ogp_agent_run

+ 1 - 1
ogp_agent_run

@@ -255,7 +255,7 @@ update() {
 							ogpGitCleanup
 						else
 							cd ${REPONAME}-${REVISION}
-							cp -avf systemd Frontier ArmaBE Schedule Time FastDownload php-query ogp_agent.pl ogp_screenrc ogp_agent_run agent_conf.sh $AGENTDIR &> /dev/null
+							cp -avf systemd Frontier ArmaBE Schedule Time FastDownload php-query ogp_agent.pl ogp_screenrc ogp_screenrc_bk ogp_agent_run agent_conf.sh $AGENTDIR &> /dev/null
 							if test $? -ne 0; then
 								echo "`date`: The agent files cannot be overwritten."
 								cd ..