From 5c63427f8a971e08aec50ceed439391dcbd2c346 Mon Sep 17 00:00:00 2001 From: Vague Rabbit Date: Thu, 28 Jan 2021 22:31:40 -0800 Subject: [PATCH] replace -f with -d --- deploy-saleor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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