Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrix126 committed May 30, 2024
1 parent a110e55 commit 9698ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/quick-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ then
sudo chmod +x /opt/api-formatter/api-formatter-linux-amd64

# download configuration if it doesnt' exist.
if [! -f /etc/api-formatter/config.toml ]
if [ ! -f /etc/api-formatter/config.toml ]
then
wget -q -P /etc/api-formatter/config.toml https://raw.githubusercontent.com/Cyrix126/api-formatter/main/docs/config.toml
fi
if [! -f /etc/api-formatter/config.toml ]
if [ ! -f /etc/api-formatter/config.toml ]
then
# download systemd service if it doesn't exist
sudo wget -q -P /etc/systemd/system https://raw.githubusercontent.com/Cyrix126/api-formatter/main/docs/api-formatter.service
Expand Down

0 comments on commit 9698ff2

Please sign in to comment.