From 589b2b1677f8febf25584de5cb4fcf8c5f7f6835 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 6 Jan 2020 16:52:25 -0500 Subject: [PATCH] Forcibly remove tempdir just in case --- build-and-deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-and-deploy.sh b/build-and-deploy.sh index e0e29ee6..4bb64f42 100755 --- a/build-and-deploy.sh +++ b/build-and-deploy.sh @@ -25,6 +25,7 @@ for HOST in ${HOSTS[@]}; do echo "****" echo "Deploying to host ${HOST}" echo "****" + ssh $HOST $SUDO rm -rf /tmp/pvc ssh $HOST mkdir /tmp/pvc scp ../*.deb $HOST:/tmp/pvc/ ssh $HOST $SUDO dpkg -i /tmp/pvc/*.deb