修改预安装脚本,修复安装inf失败的问题

This commit is contained in:
liuxueli
2019-12-25 11:51:46 +08:00
parent 261d36fc87
commit 1fabdf39f6

View File

@@ -6,7 +6,7 @@ touch ${DST}/plug/conflist.inf
mkdir -p ${DST}/conf/
touch ${DST}/${CONFILE}
if [[ -z `grep -rn '[business]' ${DST}/plug/conflist.inf` ]];then
if [[ -z `grep -rn '\[business\]' ${DST}/plug/conflist.inf` ]];then
echo '[business]' >> ${DST}/plug/conflist.inf
fi