diff --git a/rpm/init.sh b/rpm/init.sh index 5359966..16f993a 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}/