Forcibly remove tempdir just in case
This commit is contained in:
parent
38dae8b32f
commit
589b2b1677
|
@ -25,6 +25,7 @@ for HOST in ${HOSTS[@]}; do
|
||||||
echo "****"
|
echo "****"
|
||||||
echo "Deploying to host ${HOST}"
|
echo "Deploying to host ${HOST}"
|
||||||
echo "****"
|
echo "****"
|
||||||
|
ssh $HOST $SUDO rm -rf /tmp/pvc
|
||||||
ssh $HOST mkdir /tmp/pvc
|
ssh $HOST mkdir /tmp/pvc
|
||||||
scp ../*.deb $HOST:/tmp/pvc/
|
scp ../*.deb $HOST:/tmp/pvc/
|
||||||
ssh $HOST $SUDO dpkg -i /tmp/pvc/*.deb
|
ssh $HOST $SUDO dpkg -i /tmp/pvc/*.deb
|
||||||
|
|
Loading…
Reference in New Issue