forked from p15670423/monkey
deployment: Remove swimm debian package after it is installed
This commit is contained in:
parent
9383457518
commit
7c34288f1b
|
@ -240,13 +240,16 @@ else
|
|||
fi
|
||||
|
||||
# Download Swimm
|
||||
log_message "Downloading swimm"
|
||||
if exists wget; then
|
||||
wget ${SWIMM_URL} -O $HOME/swimm
|
||||
else
|
||||
curl ${SWIMM_URL} -o $HOME/swimm
|
||||
fi
|
||||
|
||||
log_message "Installing swimm"
|
||||
sudo dpkg -i $HOME/swimm || (sudo apt-get update && sudo apt-get -f install)
|
||||
sudo chmod +x $HOME/swimm
|
||||
rm $HOME/swimm
|
||||
|
||||
sudo chmod +x "${INFECTION_MONKEY_DIR}/build_linux.sh"
|
||||
|
||||
|
|
Loading…
Reference in New Issue