From a0cdb79427746bbdc6361811ef9cab443c154ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=AD=A6=E5=88=A9?= Date: Mon, 29 Jun 2020 10:07:51 +0800 Subject: [PATCH] Delete install.sh --- preinstall/install.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 preinstall/install.sh diff --git a/preinstall/install.sh b/preinstall/install.sh deleted file mode 100644 index 2e7f737..0000000 --- a/preinstall/install.sh +++ /dev/null @@ -1,19 +0,0 @@ -DST=${RPM_INSTALL_PREFIX} - -mkdir -p ${DST}/plug/platform/ -mkdir -p ${DST}/etc/ -touch ${DST}/plug/conflist.inf -touch ${DST}/etc/project_list.conf - -if [[ -z `grep -rn 'POLICY_PRIORITY' ${DST}/etc/project_list.conf` ]];then - echo 'POLICY_PRIORITY struct' >> ${DST}/etc/project_list.conf -fi - -if [[ -z `grep -rn 'TSG_MASTER_INTERNAL_LABEL' ${DST}/etc/project_list.conf` ]];then - echo 'TSG_MASTER_INTERNAL_LABEL long' >> ${DST}/etc/project_list.conf -fi - -if [[ -z `grep -rn 'tsg_master.inf' ${DST}/plug/conflist.inf` ]];then - sed -i '/\[platform\]/a\./plug/platform/tsg_master/tsg_master.inf' ${DST}/plug/conflist.inf -fi -