replace -f with -d
This commit is contained in:
parent
35c7d0e86f
commit
5c63427f8a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue