mirror of
https://github.com/nezhahq/scripts.git
synced 2025-07-12 21:39:32 +08:00
fix new installation (#11)
This commit is contained in:
parent
ba475f1e1e
commit
86ff7f8cd9
@ -141,6 +141,8 @@ install() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo mkdir -p $NZ_AGENT_PATH
|
||||||
|
|
||||||
sudo unzip -qo /tmp/nezha-agent_${os}_${os_arch}.zip -d $NZ_AGENT_PATH &&
|
sudo unzip -qo /tmp/nezha-agent_${os}_${os_arch}.zip -d $NZ_AGENT_PATH &&
|
||||||
sudo rm -rf /tmp/nezha-agent_${os}_${os_arch}.zip
|
sudo rm -rf /tmp/nezha-agent_${os}_${os_arch}.zip
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user