Skip to content

Commit

Permalink
Merge pull request #178 from Teingi/master
Browse files Browse the repository at this point in the history
yum install obdiag no need excute "source /usr/local/oceanbase-diagnostic-tool/init.sh"
  • Loading branch information
Teingi authored Apr 24, 2024
2 parents b7ae0e0 + 44e0c65 commit 28547ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpm/oceanbase-diagnostic-tool.spec
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@ find /usr/local/oceanbase-diagnostic-tool/obdiag -type f -exec chmod 644 {} \;
ln -sf /usr/local/oceanbase-diagnostic-tool/obdiag /usr/bin/obdiag
chmod +x /usr/local/oceanbase-diagnostic-tool/obdiag
cp -rf /usr/local/oceanbase-diagnostic-tool/init_obdiag_cmd.sh /etc/profile.d/obdiag.sh
sh /usr/local/oceanbase-diagnostic-tool/init.sh
echo -e 'Please execute the following command to init obdiag:\n'
echo -e '\033[32m source /usr/local/oceanbase-diagnostic-tool/init.sh \n \033[0m'
echo -e '\033[32m source ~/.bashrc \n \033[0m'

0 comments on commit 28547ef

Please sign in to comment.