migrated "[[ ]]" if statements to "[ ]"

This commit is contained in:
Oscar Krause
2023-01-17 14:57:39 +01:00
parent 7ef071f92b
commit d69d833923
2 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
if [[ -f /etc/systemd/system/fastapi-dls.service ]]; then
if [ -f /etc/systemd/system/fastapi-dls.service ]; then
echo "> Removing service file."
rm /etc/systemd/system/fastapi-dls.service
fi