Commit 4a76e872 authored by dengyufu's avatar dengyufu

modify quick_install.sh

parent 73e6a6a8
......@@ -4,9 +4,13 @@ cd $SCRIPT_DIR
DIR=`pwd`
USER_NAME=`whoami`
GROUP=`ls -g ~/.. | grep $USER_NAME | awk '{print $3}'`
sudo mkdir /assets \
&& sudo chown -R $USER_NAME:$GROUP /assets \
&& cd /assets \
&& wget https://gitlab.yit.com/pub/com.yit.trace.yittrace-pinpoint-agent/raw/master/download.sh?inline=false -O download.sh && chmod +x download.sh \
if [ -d /assets ]; then
sudo chown -R $USER_NAME:$GROUP /assets
else
sudo mkdir /assets && sudo chown -R $USER_NAME:$GROUP /assets
fi
cd /assets \
&& wget https://gitlab.yit.com/pub/com.yit.trace.yittrace-pinpoint-agent/raw/master/download.sh?inline=false -O download.sh \
&& chmod +x download.sh \
&& ./download.sh \
&& pinpoint-agent/script/mac_init_env_replay.sh i1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment