From d3760222bbb96472dc6e467e4d3003df4b4a42ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A0=E7=A3=8A?= Date: Wed, 18 Dec 2024 19:32:30 +0800 Subject: [PATCH] Clean rca old *scene.py files --- rpm/init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpm/init.sh b/rpm/init.sh index 53599660..16f993a9 100755 --- a/rpm/init.sh +++ b/rpm/init.sh @@ -18,6 +18,10 @@ mkdir -p ${OBDIAG_HOME} && cd ${OBDIAG_HOME} mkdir -p ${OBDIAG_HOME}/check mkdir -p ${OBDIAG_HOME}/log mkdir -p ${OBDIAG_HOME}/display + +# Clean rca old *scene.py files +find "$SOURCE_DIR/rca" -maxdepth 1 -name "*_scene.py" -type f -exec rm -f {} \; + cp -rf ${WORK_DIR}/plugins/* ${OBDIAG_HOME}/