diff --git a/deploy-saleor.sh b/deploy-saleor.sh index 7a06b46..587a912 100644 --- a/deploy-saleor.sh +++ b/deploy-saleor.sh @@ -324,7 +324,7 @@ sudo ufw allow $API_PORT # Make sure we're in the user's home directory cd $HD # Does the Saleor Dashboard already exist? -if [ -f "$HD/saleor" ]; then +if [ -d "$HD/saleor" ]; then # Remove /saleor directory sudo rm -R $HD/saleor wait