Skip to content

Commit

Permalink
delete init.sh cp gather dir more
Browse files Browse the repository at this point in the history
  • Loading branch information
wayyoungboy committed Aug 13, 2024
1 parent 7ecfdcd commit ec8d4a8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ if [ -d "${WORK_DIR}/gather" ]; then
cp -rf ${WORK_DIR}/gather ${OBDIAG_HOME}/
fi

if [ -d "${WORK_DIR}/gather" ]; then
cp -rf ${WORK_DIR}/gather ${OBDIAG_HOME}/
fi

if [ -d "${WORK_DIR}/example" ]; then
cp -rf ${WORK_DIR}/example ${OBDIAG_HOME}/
fi
Expand All @@ -37,7 +33,6 @@ if [ -d "${WORK_DIR}/rca" ]; then
cp -rf ${WORK_DIR}/rca ${OBDIAG_HOME}/
fi


ALIAS_OBDIAG_EXIST=$(grep "alias obdiag='sh" ~/.bashrc | head -n 1)
if [[ "${ALIAS_OBDIAG_EXIST}" != "" ]]; then
echo "need update obdiag alias"
Expand Down

0 comments on commit ec8d4a8

Please sign in to comment.